);
my $c = $t->collation;
-my @v1 = $c->add_relationship( 'n21', 'n22', { 'type' => 'meaning' } );
+my @v1 = $c->add_relationship( 'n21', 'n22', { 'type' => 'lexical' } );
is( scalar @v1, 1, "Added a single relationship" );
is( $v1[0]->[0], 'n21', "Got correct node 1" );
is( $v1[0]->[1], 'n22', "Got correct node 2" );
<data key="de7">global</data>
<data key="de6">1p poss/main </data>
</edge>
- <edge source="n187" target="n188" id="e13">
- <data key="de2">meaning</data>
- <data key="de7">global</data>
- <data key="de6">synonyms</data>
- </edge>
<edge source="n194" target="n195" id="e14">
<data key="de2">grammatical</data>
<data key="de7">global</data>
<data key="de7">global</data>
<data key="de6">verb mood</data>
</edge>
- <edge source="n640" target="n641" id="e37">
- <data key="de2">meaning</data>
- <data key="de7">global</data>
- <data key="de6">opposites</data>
- </edge>
<edge source="n643" target="n644" id="e38">
<data key="de2">grammatical</data>
<data key="de7">global</data>
);
my $c = $t->collation;
-my @v1 = $c->add_relationship( 'n21', 'n22', { 'type' => 'meaning' } );
+my @v1 = $c->add_relationship( 'n21', 'n22', { 'type' => 'lexical' } );
is( scalar @v1, 1, "Added a single relationship" );
is( $v1[0]->[0], 'n21', "Got correct node 1" );
is( $v1[0]->[1], 'n22', "Got correct node 2" );