diff options
Diffstat (limited to 't')
-rw-r--r-- | t/pragma/warn/op | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/t/pragma/warn/op b/t/pragma/warn/op index c72534a15f..a07a837ffb 100644 --- a/t/pragma/warn/op +++ b/t/pragma/warn/op @@ -87,13 +87,13 @@ (Maybe you meant system() when you said exec()? exec "true" ; my $a - defined(@array) is deprecated (and not really meaningful) + defined(@array) is deprecated (Maybe you should just omit the defined()?) defined @a ; my @a ; defined @a ; defined (@a = (1,2,3)) ; - defined(%hash) is deprecated (and not really meaningful) + defined(%hash) is deprecated (Maybe you should just omit the defined()?) defined %h ; my %h ; defined %h ; @@ -558,33 +558,33 @@ Statement unlikely to be reached at - line 4. use warning 'deprecated' ; defined(@a); EXPECT -defined(@array) is deprecated (and not really meaningful) at - line 3. +defined(@array) is deprecated at - line 3. (Maybe you should just omit the defined()?) ######## # op.c use warning 'deprecated' ; my @a; defined(@a); EXPECT -defined(@array) is deprecated (and not really meaningful) at - line 3. +defined(@array) is deprecated at - line 3. (Maybe you should just omit the defined()?) ######## # op.c use warning 'deprecated' ; defined(@a = (1,2,3)); EXPECT -defined(@array) is deprecated (and not really meaningful) at - line 3. +defined(@array) is deprecated at - line 3. (Maybe you should just omit the defined()?) ######## # op.c use warning 'deprecated' ; defined(%h); EXPECT -defined(%hash) is deprecated (and not really meaningful) at - line 3. +defined(%hash) is deprecated at - line 3. (Maybe you should just omit the defined()?) ######## # op.c use warning 'deprecated' ; my %h; defined(%h); EXPECT -defined(%hash) is deprecated (and not really meaningful) at - line 3. +defined(%hash) is deprecated at - line 3. (Maybe you should just omit the defined()?) |