--- trunk/t/swish.t 2004/12/03 21:48:29 6 +++ trunk/t/swish.t 2004/12/03 23:30:22 7 @@ -2,7 +2,7 @@ use strict; -use Test::More tests => 7; +use Test::More tests => 8; use Test::Exception; use blib; @@ -33,3 +33,5 @@ # add one dummy document so that swish++ won't reject all words # with index of just one document ok($i->index_document( _dummy_ => '' ), "fillter"); + +cmp_ok($i->{'index_dir'}, 'eq', $index, "index_dir ok");