projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f2ddc7
)
t/git.t: reorder IPC::Run check
author
Eric Wong <e@80x24.org>
Sat, 29 Dec 2018 05:51:14 +0000 (
05:51
+0000)
committer
Eric Wong <e@80x24.org>
Sat, 29 Dec 2018 07:03:59 +0000 (07:03 +0000)
We can't skip tests after "use_ok"
t/git.t
patch
|
blob
|
history
diff --git
a/t/git.t
b/t/git.t
index 5069ae2c42c68202aea2a0120dbfbd908e86a9a3..6538b6ca2644d3875f9fc0f36fe326fc55675f50 100644
(file)
--- a/
t/git.t
+++ b/
t/git.t
@@
-8,8
+8,8
@@
my $dir = tempdir('pi-git-XXXXXX', TMPDIR => 1, CLEANUP => 1);
use Cwd qw/getcwd/;
use PublicInbox::Spawn qw(popen_rd);
-use_ok 'PublicInbox::Git';
eval { require IPC::Run } or plan skip_all => 'IPC::Run missing';
+use_ok 'PublicInbox::Git';
{
is(system(qw(git init -q --bare), $dir), 0, 'created git directory');