git.shiar.nl
/
perl
/
plp
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
07db475
)
t/50-cgi: match data type in 30-warnings void test
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 20 Nov 2013 10:16:54 +0000
(11:16 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 20 Nov 2013 11:16:00 +0000
(12:16 +0100)
Comparing number to string results in different messages as of Perl v5.18:
> got: "Useless use of a constant (42) in void context at 30-warnings.plp line 2.
> expected: "Useless use of a constant ("42") in void context at 30-warnings.plp line 2.
t/50-cgi/30-warnings.html
patch
|
blob
|
history
diff --git
a/t/50-cgi/30-warnings.html
b/t/50-cgi/30-warnings.html
index 94972da9f29a36b2c7c0a16be92a0266dff2af66..359bf5f4cc204e8a3ef79ffb6dccbbcc9fcadfbe 100644
(file)
--- a/
t/50-cgi/30-warnings.html
+++ b/
t/50-cgi/30-warnings.html
@@
-1,5
+1,5
@@
$HEAD
-<warning><eval line="2">
'42'
</eval></warning>
+<warning><eval line="2">
42
</eval></warning>
1
2
3<warning>warning at $SCRIPT_NAME line 3.</warning>