X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2Fstemmatology.git;a=blobdiff_plain;f=t%2Flexeme_serialize.t;h=7db1bae6d5d1c995788646860600f2d5bf6fc16e;hp=6bb714a469a61b89fd800177af23d956064208dc;hb=6ba69acdba350d403384d150614d0294d17828a1;hpb=5ac9acd842b39856560430f8268b00364983a017 diff --git a/t/lexeme_serialize.t b/t/lexeme_serialize.t index 6bb714a..7db1bae 100644 --- a/t/lexeme_serialize.t +++ b/t/lexeme_serialize.t @@ -37,4 +37,11 @@ foreach my $r ( $tf->collation->readings ) { } } +# Test a snippet of tradition with possibly-problematic saved lexemes +my $tf3 = Text::Tradition->new( + 'input' => 'Self', + 'file' => 't/data/lexformat.xml' ); +is( ref $tf3, 'Text::Tradition', + "Successfully parsed tradition with incomplete lexemes" ); + done_testing();