t/50-cgi: match data type in 30-warnings void test
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 20 Nov 2013 10:16:54 +0000 (11:16 +0100)
committerMischa 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

index 94972da9f29a36b2c7c0a16be92a0266dff2af66..359bf5f4cc204e8a3ef79ffb6dccbbcc9fcadfbe 100644 (file)
@@ -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>