summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-09-13 11:15:40 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-09-13 11:15:40 +0000
commitb4581f097130417ce397d3283decd4cd6b448ce9 (patch)
tree8c70d88223321bae25a4cb3ecaf6623184c16cd8 /t
parenta9f76400719eab0b833a22a7abc257540ba871a5 (diff)
downloadperl-b4581f097130417ce397d3283decd4cd6b448ce9.tar.gz
The "perlio: " prefix looks a little odd
in the few warning/error messages, since no other 'subsystems' have prefixes. p4raw-id: //depot/perl@21208
Diffstat (limited to 't')
-rwxr-xr-xt/io/open.t12
1 files changed, 6 insertions, 6 deletions
diff --git a/t/io/open.t b/t/io/open.t
index 90305bd1be..e71d2ec3c5 100755
--- a/t/io/open.t
+++ b/t/io/open.t
@@ -286,19 +286,19 @@ SKIP: {
local $SIG{__WARN__} = sub { $w = shift };
eval { open(F, ">>>", "afile") };
- like($w, qr/perlio: invalid separator character '>' in layer spec/,
+ like($w, qr/Invalid separator character '>' in PerlIO layer spec/,
"bad open (>>>) warning");
like($@, qr/Unknown open\(\) mode '>>>'/,
"bad open (>>>) failure");
eval { open(F, ">:u", "afile" ) };
- like($w, qr/perlio: unknown layer "u"/,
+ like($w, qr/Unknown PerlIO layer "u"/,
'bad layer ">:u" warning');
eval { open(F, "<:u", "afile" ) };
- like($w, qr/perlio: unknown layer "u"/,
+ like($w, qr/Unknown PerlIO layer "u"/,
'bad layer "<:u" warning');
- eval { open(F, ":u", "afile" ) };
- like($@, qr/Unknown open\(\) mode ':u'/,
- 'bad layer ":u" failure');
+ eval { open(F, ":c", "afile" ) };
+ like($@, qr/Unknown open\(\) mode ':c'/,
+ 'bad layer ":c" failure');
}