Skip to content

Commit 865b465

Browse files
committed
Adapt tests for Supply.comb(.... :match)
1 parent 3e4f352 commit 865b465

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

S17-supply/comb.t

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,13 @@ for @schedulers -> $*SCHEDULER {
5959
"comb a simple list of words with {c.raku.substr(1)}";
6060
}
6161

62-
for \(/./,:match), \(/./,10,:match) -> \c {
63-
dies-ok { Supply.from-list(@source).comb(|c) },
64-
"died with {c.raku.substr(1)}";
65-
}
62+
tap-ok Supply.from-list(@source).comb(/./, :match),
63+
[<o l d d o g j u m p s o>],
64+
"comb with (/./, :match)";
65+
66+
tap-ok Supply.from-list(@source).comb(/./, 10, :match),
67+
[<o l d d o g j u m p>],
68+
"comb with (/./, 10, :match)";
6669
}
6770

6871
# vim: ft=perl6 expandtab sw=4

0 commit comments

Comments
 (0)