diff options
Diffstat (limited to 't/pragma/strict-refs')
-rw-r--r-- | t/pragma/strict-refs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/pragma/strict-refs b/t/pragma/strict-refs index 7bf1556e10..10599b0bb2 100644 --- a/t/pragma/strict-refs +++ b/t/pragma/strict-refs @@ -196,6 +196,7 @@ ${"Fred"} ; require "./abc"; EXPECT Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at ./abc line 2. +Compilation failed in require at - line 2. ######## --FILE-- abc.pm @@ -207,6 +208,7 @@ my $a = ${"Fred"} ; use abc; EXPECT Can't use string ("Fred") as a SCALAR ref while "strict refs" in use at abc.pm line 2. +Compilation failed in require at - line 2. BEGIN failed--compilation aborted at - line 2. ######## |