/[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 3 by dpavlin, Fri Dec 3 15:23:23 2004 UTC revision 4 by dpavlin, Fri Dec 3 19:35:02 2004 UTC
# Line 2  Line 2 
2    
3  use strict;  use strict;
4    
5  use Test::More tests => 5;  use Test::More tests => 6;
6  use Test::Exception;  use Test::Exception;
7  use blib;  use blib;
8    
# Line 27  ok(-e $index, "index exist"); Line 27  ok(-e $index, "index exist");
27  ok($i->check_bin, "swish++ check");  ok($i->check_bin, "swish++ check");
28    
29  diag $i->{'version'} || die;  diag $i->{'version'} || die;
30    
31    ok($i->index_document( 42 => 'meaning of life' ), "index 42");
32    
33    # add one dummy document so that swish++ won't reject all words
34    # with index of just one document
35    ok($i->index_document( _dummy_ => '' ), "fillter");

Legend:
Removed from v.3  
changed lines
  Added in v.4

  ViewVC Help
Powered by ViewVC 1.1.26