On Thu Nov 05 15:22:52 2015, SREZIC wrote:
Show quoted text
The module test which fails:
http://www.cpantesters.org/cpan/report/0d173c8e-6007-11e4-adde-df4e5fa3639d
fails here:
# Failed test 'Node dump did not change'
# at t/invariance.t line 73.
# Looks like you failed 1 test of 26.
t/invariance.t ......
---
This line can be seen at this URL:
https://metacpan.org/source/MCEGLOWS/Search-ContextGraph-0.15/t/invariance.t#L73
---
The code is as follows:
---
my @readded = $g->dump_node( 'D:doc-4' );
#print join "\n", @readded, "\n";
#print join "\n", @original, "\n";
ok( eq_array( \@readded, \@original ), "Node dump did not change" );
---
This test relies on hash key ordering remaining the same:
https://metacpan.org/source/MCEGLOWS/Search-ContextGraph-0.15/ContextGraph.pm#L1084
---
Unfortunately hash keys in Perl are no longer returned in the same order but shuffled each time, so this test is failing.