Skip to content

Commit a18ba36

Browse files
committed
[wip commit to run the test matrix]
1 parent ab79bb2 commit a18ba36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/io/perlio_open.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ SKIP:
4444
}
4545

4646
{
47-
my $fn = \&CORE::open;
48-
ok($fn->(my $fh, "+>", undef), "(\\&CORE::open)->(my \$fh, '+>', undef)");
47+
sub wrapped_open { &CORE::open }
48+
ok((wrapped_open my $fh, "+>", undef), "wrapped_open my \$fh, '+>', undef");
4949
print $fh "the right write stuff";
5050
ok(seek($fh, 0, SEEK_SET), "seek to zero");
5151
my $data = <$fh>;

0 commit comments

Comments
 (0)