From ef4fda983a7d5739c10ba292bef6a3e79929eb91 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Fri, 1 Apr 2016 22:38:49 +0200 Subject: Use the correct order of arguments to skip() --- t/03-online.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/03-online.t b/t/03-online.t index c9354ef..da9796e 100755 --- a/t/03-online.t +++ b/t/03-online.t @@ -44,7 +44,7 @@ chk_slackbuilds_txt(); stderr_like(sub { ($symlinks, $exit) = check_distfiles(LOCATION => "$repo_path/perl/perl-Sort-Versions"); }, qr/Resolving search[.]cpan[.]org/, 'check_distfiles output good'); SKIP: { - skip 1, "check_distfiles errored out." if defined $exit; + skip "check_distfiles errored out.", 1 if defined $exit; is($symlinks->[0], "$repo_path/perl/perl-Sort-Versions/Sort-Versions-1.5.tar.gz", 'check_distfiles test 01'); } -- cgit v1.2.3