diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-01 22:38:49 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-01 22:38:49 +0200 |
commit | ef4fda983a7d5739c10ba292bef6a3e79929eb91 (patch) | |
tree | 57dacf2673a4156e2d704e38830406c87fbea730 | |
parent | c1cec8b019116c317eca07cba562083d63e12954 (diff) | |
download | sbotools2-ef4fda983a7d5739c10ba292bef6a3e79929eb91.tar.xz |
Use the correct order of arguments to skip()
-rwxr-xr-x | t/03-online.t | 2 |
1 files changed, 1 insertions, 1 deletions
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'); } |