Skip to content

Commit 90d148c

Browse files
committed
Fix suspicious Supply.(list|sort) tests
1 parent 4bfd6d2 commit 90d148c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

S17-supply/list.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Test;
44

55
plan 5;
66

7-
dies-ok { Supply.list }, 'can not be called as a class method';
7+
is-deeply Supply.list, (Supply,).Seq, 'can list a Supply type object';
88

99
for ThreadPoolScheduler.new, CurrentThreadScheduler -> $*SCHEDULER {
1010
diag "**** scheduling with {$*SCHEDULER.WHAT.perl}";

S17-supply/sort.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use Test::Tap;
66

77
plan 7;
88

9-
dies-ok { Supply.sort }, 'can not be called as a class method';
9+
is-deeply Supply.sort, (Supply,).Seq, 'can sort a Supply type object';
1010

1111
for ThreadPoolScheduler.new, CurrentThreadScheduler -> $*SCHEDULER {
1212
diag "**** scheduling with {$*SCHEDULER.WHAT.perl}";

0 commit comments

Comments
 (0)