try to fix test failure of #30
Tara L Andrews [Sun, 30 Nov 2014 15:48:37 +0000 (16:48 +0100)]
base/lib/Text/Tradition/Collation.pm
base/t/text_tradition_collation.t

index 41cace4..84ed439 100644 (file)
@@ -457,6 +457,8 @@ warnings_exist {
        "Got expected relationship drop warning on parse";
 
 my $c = $t->collation;
+# Force the transitive propagation of all existing relationships.
+$c->relations->propagate_all_relationships();
 
 my %rdg_ids;
 map { $rdg_ids{$_} = 1 } $c->readings;
index ff73da2..edced1b 100644 (file)
@@ -77,6 +77,8 @@ warnings_exist {
        "Got expected relationship drop warning on parse";
 
 my $c = $t->collation;
+# Force the transitive propagation of all existing relationships.
+$c->relations->propagate_all_relationships();
 
 my %rdg_ids;
 map { $rdg_ids{$_} = 1 } $c->readings;