t/50-cgi: order 62-%post data hash
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 20 Nov 2013 11:15:28 +0000 (12:15 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 20 Nov 2013 11:16:00 +0000 (12:16 +0100)
Stabilise hash dump, especially as they are randomised as of Perl v5.18.

t/50-cgi/62-%25post+data.html
t/50-cgi/62-%25post+data.plp

index 3ca132af6b8b8e67f80163b43ef29de4c998386f..098c439a283d415a69ea2581b76e09fc69b4780a 100644 (file)
@@ -1,2 +1,2 @@
 $HEAD
-3{'foo' => 'b a r','@foo' => ['','b a r']}
+3{'@foo' => ['','b a r'],'foo' => 'b a r'}
index 1fc42b507c205ca968d2225659160f9e1e5d9798..641b8f1edd78cb99403f9ffe1807f42737dc68ab 100644 (file)
@@ -2,4 +2,4 @@
 print scalar keys %post;
 
 require Data::Dumper;
-print Data::Dumper->new([\%post])->Indent(0)->Terse(1)->Dump;
+print Data::Dumper->new([\%post])->Indent(0)->Terse(1)->Sortkeys(1)->Dump;