/[SWISH-PlusPlus]/trunk/t/01swish.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/01swish.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by dpavlin, Fri Dec 3 21:48:29 2004 UTC revision 7 by dpavlin, Fri Dec 3 23:30:22 2004 UTC
# Line 2  Line 2 
2    
3  use strict;  use strict;
4    
5  use Test::More tests => 7;  use Test::More tests => 8;
6  use Test::Exception;  use Test::Exception;
7  use blib;  use blib;
8    
# Line 33  ok($i->index_document( 42 => 'meaning of Line 33  ok($i->index_document( 42 => 'meaning of
33  # add one dummy document so that swish++ won't reject all words  # add one dummy document so that swish++ won't reject all words
34  # with index of just one document  # with index of just one document
35  ok($i->index_document( _dummy_ => '' ), "fillter");  ok($i->index_document( _dummy_ => '' ), "fillter");
36    
37    cmp_ok($i->{'index_dir'}, 'eq', $index, "index_dir ok");

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26