diff options
Diffstat (limited to 't/pragma/warn/8signal')
-rw-r--r-- | t/pragma/warn/8signal | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/t/pragma/warn/8signal b/t/pragma/warn/8signal index cc1b9d926d..d480f1902a 100644 --- a/t/pragma/warn/8signal +++ b/t/pragma/warn/8signal @@ -6,13 +6,13 @@ __END__ # 8signal BEGIN { $| = 1; $SIG{__WARN__} = sub { print "WARN -- @_" } } BEGIN { $SIG{__DIE__} = sub { print "DIE -- @_" } } -$a =+ 1 ; -use warnings qw(syntax) ; -$a =+ 1 ; -use warnings FATAL => qw(syntax) ; -$a =+ 1 ; +1 if 1 EQ 2 ; +use warnings qw(deprecated) ; +1 if 1 EQ 2 ; +use warnings FATAL => qw(deprecated) ; +1 if 1 EQ 2 ; print "The End.\n" ; EXPECT -WARN -- Reversed += operator at - line 6. -DIE -- Reversed += operator at - line 8. -Reversed += operator at - line 8. +WARN -- Use of EQ is deprecated at - line 6. +DIE -- Use of EQ is deprecated at - line 8. +Use of EQ is deprecated at - line 8. |