user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 3/2] t/git.t: reorder IPC::Run check
  @ 2018-12-29  5:51  7%   ` Eric Wong
  0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2018-12-29  5:51 UTC (permalink / raw)
  To: meta

We can't skip tests after "use_ok"
---
 t/git.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/git.t b/t/git.t
index 5069ae2..6538b6c 100644
--- 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');
-- 
EW

^ permalink raw reply related	[relevance 7%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-12-29  3:47     [PATCH 0/2] test cleanups Eric Wong
2018-12-29  3:47     ` [PATCH 1/2] tests: consolidate process spawning code Eric Wong
2018-12-29  5:51  7%   ` [PATCH 3/2] t/git.t: reorder IPC::Run check Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).