From: Mischa POSLAWSKY Date: Wed, 20 Nov 2013 10:16:54 +0000 (+0100) Subject: t/50-cgi: match data type in 30-warnings void test X-Git-Tag: 3.24~4 X-Git-Url: http://git.shiar.net/perl/plp/.git/commitdiff_plain/00e00b2ea57d60ba23b3d224ed8fadddb8d05e59 t/50-cgi: match data type in 30-warnings void test 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. --- diff --git a/t/50-cgi/30-warnings.html b/t/50-cgi/30-warnings.html index 94972da..359bf5f 100644 --- a/t/50-cgi/30-warnings.html +++ b/t/50-cgi/30-warnings.html @@ -1,5 +1,5 @@ $HEAD -'42' +42 1 2 3warning at $SCRIPT_NAME line 3.