You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2012/04/30 18:41:46 UTC
[lucy-commits] svn commit: r1332285 - /lucy/trunk/perl/t/binding/158-standard_tokenizer.t
Author: nwellnhof
Date: Mon Apr 30 16:41:45 2012
New Revision: 1332285
URL: http://svn.apache.org/viewvc?rev=1332285&view=rev
Log:
Fix StandardTokenizer test
Modified:
lucy/trunk/perl/t/binding/158-standard_tokenizer.t
Modified: lucy/trunk/perl/t/binding/158-standard_tokenizer.t
URL: http://svn.apache.org/viewvc/lucy/trunk/perl/t/binding/158-standard_tokenizer.t?rev=1332285&r1=1332284&r2=1332285&view=diff
==============================================================================
--- lucy/trunk/perl/t/binding/158-standard_tokenizer.t (original)
+++ lucy/trunk/perl/t/binding/158-standard_tokenizer.t Mon Apr 30 16:41:45 2012
@@ -21,7 +21,7 @@ use Lucy::Test;
my $tokenizer = Lucy::Analysis::StandardTokenizer->new;
my $other = Lucy::Analysis::StandardTokenizer->new;
-ok( $other->equals($other), "Equals" );
+ok( $tokenizer->equals($other), "Equals" );
my $text = $tokenizer->split("o'malley's")->[0];
is( $text, "o'malley's", "multiple apostrophes" );