summaryrefslogtreecommitdiff
path: root/t/lib
diff options
context:
space:
mode:
Diffstat (limited to 't/lib')
-rw-r--r--t/lib/strict/refs2
-rw-r--r--t/lib/warnings/op1
2 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/strict/refs b/t/lib/strict/refs
index 09b962f71b..d9bff7cd84 100644
--- a/t/lib/strict/refs
+++ b/t/lib/strict/refs
@@ -322,6 +322,8 @@ use strict 'refs';
my $x = "foo";
defined @$x;
EXPECT
+defined(@array) is deprecated at - line 4.
+ (Maybe you should just omit the defined()?)
Can't use string ("foo") as an ARRAY ref while "strict refs" in use at - line 4.
########
# [perl #37886] strict 'refs' doesn't apply inside defined
diff --git a/t/lib/warnings/op b/t/lib/warnings/op
index b44910316f..344cf121d7 100644
--- a/t/lib/warnings/op
+++ b/t/lib/warnings/op
@@ -799,7 +799,6 @@ my $a
EXPECT
########
# op.c
-# TODO - defined @::array doesn't warn yet.
defined(@a);
EXPECT
defined(@array) is deprecated at - line 2.