From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id DC3221F405; Sat, 29 Dec 2018 05:51:14 +0000 (UTC) Date: Sat, 29 Dec 2018 05:51:14 +0000 From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/2] t/git.t: reorder IPC::Run check Message-ID: <20181229055114.4mccxh7bmmkekynu@dcvr> References: <20181229034722.16949-1-e@80x24.org> <20181229034722.16949-2-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181229034722.16949-2-e@80x24.org> List-Id: 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