summaryrefslogtreecommitdiff
path: root/lib/open.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/open.t')
-rw-r--r--lib/open.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/open.t b/lib/open.t
index 3f0fdf2827..68b3eca387 100644
--- a/lib/open.t
+++ b/lib/open.t
@@ -175,9 +175,9 @@ SKIP: {
skip("no perlio", 1) unless (find PerlIO::Layer 'perlio');
use open IN => ':non-existent';
eval {
- require Anything;
+ require Symbol; # Anything that exists but we havn't loaded
};
- like($@, qr/Recursive call/i,
+ like($@, qr/Can't locate Symbol|Recursive call/i,
"test for an endless loop in PerlIO_find_layer");
}