commit ef4fda983a7d5739c10ba292bef6a3e79929eb91
parent c1cec8b019116c317eca07cba562083d63e12954
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Fri, 1 Apr 2016 22:38:49 +0200
Use the correct order of arguments to skip()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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');
}