Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adapt tests to adapted sleep() and friends spec
  • Loading branch information
lizmat committed Sep 11, 2013
1 parent 693cdad commit e49445b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions S29-context/sleep.t
Expand Up @@ -3,7 +3,7 @@ use Test;

# L<S29/Context/"=item sleep">

plan 21;
plan 17;

my $seconds = 3;
my $nil is default(Nil);
Expand Down Expand Up @@ -70,10 +70,6 @@ my $b;
diag "checking infinite waiting times";
isa_ok eval('$b={sleep(Inf)}'), Block, 'sleep(Inf) compiles';
isa_ok eval('$b={sleep(*)}'), Block, 'sleep(*) compiles';
isa_ok eval('$b={sleep-timer(Inf)}'), Block, 'sleep-timer(Inf) compiles';
isa_ok eval('$b={sleep-timer(*)}'), Block, 'sleep-timer(*) compiles';
isa_ok eval('$b={sleep-till(Inf)}'), Block, 'sleep-till(Inf) compiles';
isa_ok eval('$b={sleep-till(*)}'), Block, 'sleep-till(*) compiles';
} #6
} #2

# vim: ft=perl6

0 comments on commit e49445b

Please sign in to comment.