Skip to content

Commit e41c661

Browse files
committed
Add test for #126935
1 parent 9dccebf commit e41c661

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

S32-io/io-path.t

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use v6;
22
use Test;
33

4-
plan 15;
4+
plan 16;
55

66
# L<S32::IO/IO::Path>
77

@@ -49,3 +49,9 @@ isa-ok $path.IO, IO::Path, 'IO::Path.IO returns IO::Path';
4949
is "/".IO.cleanup, "/", "POSIX OS loaded (forward slash)"
5050
}
5151
}
52+
53+
# RT #126935
54+
{
55+
my $perl = "/foo|\\bar".IO.perl;
56+
is $perl.EVAL.perl, $perl, "does $perl roundtrip?";
57+
}

0 commit comments

Comments
 (0)