Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Step #2 kebab-casing schedule_on
  • Loading branch information
lizmat committed Mar 12, 2015
1 parent ab6c653 commit 77e9359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S17-supply/schedule-on.t
Expand Up @@ -6,7 +6,7 @@ use Test::Tap;

plan 7;

dies_ok { Supply.schedule_on($*SCHEDULER) },
dies_ok { Supply.schedule-on($*SCHEDULER) },
'can not be called as a class method';

for ThreadPoolScheduler.new, CurrentThreadScheduler -> $*SCHEDULER {
Expand All @@ -18,7 +18,7 @@ for ThreadPoolScheduler.new, CurrentThreadScheduler -> $*SCHEDULER {
my $master = Supply.new;
ok $master ~~ Supply, 'Did we get a master Supply?';

tap_ok $master.schedule_on($other_scheduler),
tap_ok $master.schedule-on($other_scheduler),
[1,2,3],
'did we get the original values',
:live,
Expand Down

0 comments on commit 77e9359

Please sign in to comment.