Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
kebab case skip-rest
Even in comments and old fudges.
  • Loading branch information
coke committed Jul 6, 2015
1 parent 557532a commit cf81ec2
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion README
Expand Up @@ -45,7 +45,7 @@ VERBs include:
eval "reason" # eval the test because it doesn't parse yet
try "reason" # try the test because it throws exception
todo "reason" # mark "todo" because "not ok" is expected
emit code # insert code (such as "skip_rest();") inline
emit code # insert code (such as "skip-rest();") inline

All fudged tests return an exit code of 1 by default, so the test harness
will mark it as "dubious" even if all the tests supposedly pass.
Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/array.t
Expand Up @@ -5,7 +5,7 @@ use Test;
plan 17;

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/basic.t
Expand Up @@ -3,7 +3,7 @@ use Test;
plan 15;

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/class.t
Expand Up @@ -5,7 +5,7 @@ use Test;
plan(3);

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/exception_handling.t
Expand Up @@ -6,7 +6,7 @@ use Test;
BEGIN {
plan 3;
unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest('no perl 5 support'); exit;
skip-rest('no perl 5 support'); exit;
}
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/hash.t
Expand Up @@ -5,7 +5,7 @@ use Test;
plan(6);

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/import.t
Expand Up @@ -10,7 +10,7 @@ P5 module import test
=end pod

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/method.t
Expand Up @@ -5,7 +5,7 @@ use Test;
plan(13);

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/return.t
Expand Up @@ -5,7 +5,7 @@ use Test;
plan(2);

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/roundtrip.t
Expand Up @@ -5,7 +5,7 @@ use Test;
plan(5);

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/strings.t
Expand Up @@ -3,7 +3,7 @@ use Test;
plan 6;

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S01-perl-5-integration/subs.t
Expand Up @@ -3,7 +3,7 @@ use Test;
plan 2;

unless (try { EVAL("1", :lang<perl5>) }) {
skip_rest;
skip-rest;
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S03-binding/arrays.t
Expand Up @@ -17,7 +17,7 @@ plan 47;
try { @array[1] := $var };
is @array[1], "d", "basic binding of an array element (1)";
unless @array[1] eq "d" {
skip_rest "Skipping binding of array elements tests (not yet implemented in the normal runcore)";
skip-rest "Skipping binding of array elements tests (not yet implemented in the normal runcore)";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S03-binding/hashes.t
Expand Up @@ -16,7 +16,7 @@ plan 39;
try { %hash<b> := $var };
is %hash<b>, "d", "basic binding of a hash element (1)";
unless %hash<b> eq "d" {
skip_rest "Skipping binding of hash elements tests (not yet implemented in the normal runcore)";
skip-rest "Skipping binding of hash elements tests (not yet implemented in the normal runcore)";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S04-exception-handlers/catch.t
Expand Up @@ -44,7 +44,7 @@ lives-ok { do {die 'blah'; CATCH {default {}}}; }, 'do block with CATCH {default
#L<S04/"Exception handlers"/An exception handler is just a switch statement>

#unless EVAL 'Exception.new' {
# skip_rest "No Exception objects"; exit;
# skip-rest "No Exception objects"; exit;
#}

{
Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/exhaustive.t
Expand Up @@ -111,7 +111,7 @@ regex adj { time }
regex art { an? }
regex prep { like }

skip_rest("XXX - infinite loop"); exit;
skip-rest("XXX - infinite loop"); exit;

ok("time flies like an arrow" ~~
m:s:ex/^ [ <adj> <subj> <verb> <art> <obj>
Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/ii.t
Expand Up @@ -3,7 +3,7 @@ use Test;

plan 21;

#?kp6 emit skip_rest("unimpl");
#?kp6 emit skip-rest("unimpl");

#L<S05/Modifiers/"The :ii">

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_0.t
Expand Up @@ -9,7 +9,7 @@ plan 24;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ m:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_1.t
Expand Up @@ -7,7 +7,7 @@ plan 100;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_2.t
Expand Up @@ -7,7 +7,7 @@ plan 100;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_3.t
Expand Up @@ -7,7 +7,7 @@ plan 100;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_4.t
Expand Up @@ -7,7 +7,7 @@ plan 100;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_5.t
Expand Up @@ -7,7 +7,7 @@ plan 102;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_6.t
Expand Up @@ -7,7 +7,7 @@ plan 104;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_7.t
Expand Up @@ -7,7 +7,7 @@ plan 100;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_8.t
Expand Up @@ -7,7 +7,7 @@ plan 103;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S05-modifier/perl5_9.t
Expand Up @@ -7,7 +7,7 @@ plan 84;
#L<S05/Modifiers/"The extended syntax">

unless "a" ~~ rx:P5/a/ {
skip_rest "skipped tests - P5 regex support appears to be missing";
skip-rest "skipped tests - P5 regex support appears to be missing";
exit;
}

Expand Down
2 changes: 1 addition & 1 deletion S16-filehandles/chmod.t
Expand Up @@ -29,7 +29,7 @@ We really need the stat() function in order to test this.
plan 19;

if $*DISTRO.is-win {
skip_rest "file tests not fully available on win32";
skip-rest "file tests not fully available on win32";
exit;
};

Expand Down
2 changes: 1 addition & 1 deletion S24-testing/1-basic.t
Expand Up @@ -157,6 +157,6 @@ flunk('This test failed', :todo(1));

skip('skip this test for now');
skip('skip 3 more tests for now', 3);
skip_rest('skipping the rest');
skip-rest('skipping the rest');

# vim: expandtab shiftwidth=4 ft=perl6
2 changes: 1 addition & 1 deletion S32-io/IO-Socket-INET.t
Expand Up @@ -39,7 +39,7 @@ given $*DISTRO.name {
$netstat_pat = rx{ State .+? [ ^^ .+? ':' (\d+) .+? ]+ $ }; # same as linux
}
default {
skip_rest('Operating system not yet supported');
skip-rest('Operating system not yet supported');
exit 0;
}
# TODO: other operating systems; *BSD etc.
Expand Down
2 changes: 1 addition & 1 deletion S32-io/io-spec-unix.t
Expand Up @@ -189,7 +189,7 @@ is $Unix.rel2abs('../t4','/t1/t2/t3'), '/t1/t2/t3/../t4', "rel2abs: ('../
is $Unix.rel2abs('/t1','/t1/t2/t3'), '/t1', "rel2abs: ('/t1','/t1/t2/t3') -> '/t1'";

if $*DISTRO.name ~~ any(<mswin32 os2 netware symbian dos cygwin>) {
skip_rest 'Unix on-platform tests'
skip-rest 'Unix on-platform tests'
}
else {
isa-ok $*SPEC, IO::Spec::Unix, "unix: loads correct module";
Expand Down

0 comments on commit cf81ec2

Please sign in to comment.