summaryrefslogtreecommitdiff
path: root/t/lib/warnings/op
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/warnings/op')
-rw-r--r--t/lib/warnings/op20
1 files changed, 1 insertions, 19 deletions
diff --git a/t/lib/warnings/op b/t/lib/warnings/op
index 64217c744e..681ec16297 100644
--- a/t/lib/warnings/op
+++ b/t/lib/warnings/op
@@ -765,20 +765,11 @@ EXPECT
Hash %FRED missing the % in argument 1 of keys() at - line 3.
########
# op.c
-BEGIN {
- if ($^O eq 'MacOS') {
- print <<EOM;
-SKIPPED
-# no exec on Mac OS
-EOM
- exit;
- }
-}
use warnings 'syntax' ;
exec "$^X -e 1" ;
my $a
EXPECT
-Statement unlikely to be reached at - line 13.
+Statement unlikely to be reached at - line 4.
(Maybe you meant system() when you said exec()?)
########
# op.c
@@ -803,15 +794,6 @@ defined(%hash) is deprecated at - line 3.
(Maybe you should just omit the defined()?)
########
# op.c
-BEGIN {
- if ($^O eq 'MacOS') {
- print <<EOM;
-SKIPPED
-# no exec on Mac OS
-EOM
- exit;
- }
-}
no warnings 'syntax' ;
exec "$^X -e 1" ;
my $a