--- t/10-xs.t 2008/08/17 22:24:04 2 +++ t/10-xs.t 2008/08/17 22:27:23 3 @@ -5,7 +5,7 @@ use blib; -use Test::More tests => 4; +use Test::More tests => 5; use Test::Exception; use Data::Dump qw/dump/; @@ -17,4 +17,6 @@ cmp_ok( Search::TokyoDystopia::tcidberrmsg(0), 'eq', 'success', 'tcidberrmsg' ); -ok( Search::TokyoDystopia::tcidbnew, 'tcidbnew' ); # FIXME check better +ok( my $db = Search::TokyoDystopia::tcidbnew, 'tcidbnew' ); # FIXME check better + +ok( ! Search::TokyoDystopia::tcidbdel( $db ), 'tcidbdel' );