Skip to content

Commit b83882b

Browse files
committed
[io grant] Use bin IO::Handle to test its .Supply
As part of the IO Action Plan it was deemed the test was erroneous. .Supply was made to respect the handle's mode[^1], which requires the test to be amended. [1] rakudo/rakudo@184d499961
1 parent fe1aef1 commit b83882b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

S16-io/supply.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ for ThreadPoolScheduler.new, CurrentThreadScheduler -> $*SCHEDULER {
2727
}
2828

2929
{
30-
my $handle = open($filename);
31-
tap-ok $handle.Supply(:size(1),:bin),
30+
my $handle = open($filename, :bin);
31+
tap-ok $handle.Supply(:size(1)),
3232
[<a b c d e>.map: { Buf[uint8].new(ord $_) }],
3333
:!live,
3434
"we can get bytes from a supply";

0 commit comments

Comments
 (0)