Subject: | t/11writer.t fails randomly with perl-5.18 |
t/11writer.t fails randomly with perl-5.18.2 due to randomized order of hash keys:
Expect: <methodCall><methodName>someMethod</methodName><params><param><value>123
</value></param><param><value><i4>345</i4></value></param><param><value><double>
4.6</double></value></param><param><value><array><data><value>a</value><value>b<
/value><value>c</value></data></array></value></param><param><value><dateTime.is
Show quoted text
o8601>2011-09-19T17:09:03Z</dateTime.iso8601></value></param><param><value><stru
Show quoted textct><member><name>a</name><value><i4>0</i4></value></member><member><name>b</name
Show quoted text><value>xyz</value></member></struct></value></param></params></methodCall>
Got: <methodCall><methodName>someMethod</methodName><params><param><value>123
</value></param><param><value><i4>345</i4></value></param><param><value><double>
4.6</double></value></param><param><value><array><data><value>a</value><value>b<
/value><value>c</value></data></array></value></param><param><value><dateTime.is
Show quoted texto8601>2011-09-19T17:09:03Z</dateTime.iso8601></value></param><param><value><stru
Show quoted textct><member><name>b</name><value>xyz</value></member><member><name>a</name><value
Show quoted text><i4>0</i4></value></member></struct></value></param></params></methodCall>
# Test 1 got: "0" (t/11writer.t at line 103)
# Expected: "1" (TestBasic)
# t/11writer.t line 103 is: ok(TestBasic(), 1, "TestBasic");
t/11writer.t ....
Failed 1/2 subtests
This subtree content has random ordering of member elements:
<struct>
<member>
<name>b</name>
<value>xyz</value>
</member>
<member>
<name>a</name>
<value><i4>0</i4></value>
</member>
</struct>
-- Petr