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