Skip to content

Commit 4fc109a

Browse files
committed
Fix Supply.list test
1 parent 75c3aec commit 4fc109a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

S17-supply/list.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ for ThreadPoolScheduler.new, CurrentThreadScheduler -> $*SCHEDULER {
1414
is-deeply @a, [2..6], "Supply.list works in for";
1515
my @b = Supply.from-list(42..50).list;
1616
is-deeply @b, [42..50], "Supply.list can be stored in array";
17-
isa-ok Supply.from-list(2..6) .Seq, Seq, "Supply.Seq should return a Seq";
18-
isa-ok Supply.from-list(42..50) .Seq, Seq, "Supply.Seq should return a Seq";
17+
isa-ok Supply.from-list(2..6) .list, List, "Supply.list should return a List";
18+
isa-ok Supply.from-list(42..50) .list, List, "Supply.list should return a List";
1919
}
2020

2121
# vim: ft=perl6 expandtab sw=4

0 commit comments

Comments
 (0)