diff options
Diffstat (limited to 't/io/open.t')
-rwxr-xr-x | t/io/open.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/io/open.t b/t/io/open.t index 1b54c33325..635ea4c364 100755 --- a/t/io/open.t +++ b/t/io/open.t @@ -138,7 +138,7 @@ open my $f, '<&', 'afile'; 1; EOE ok; -$@ =~ /Bad filehandle:\s+afile/ or print "not ($@)"; +$@ =~ /Bad filehandle:\s+afile/ or print "not "; ok; # local $file tests @@ -262,7 +262,7 @@ open local $f, '<&', 'afile'; 1; EOE ok; -$@ =~ /Bad filehandle:\s+afile/ or print "not ($@) "; +$@ =~ /Bad filehandle:\s+afile/ or print "not "; ok; # 65..66 |