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 |
|
|
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"); |