Skip to content
Browse files

add invalidate test

  • Loading branch information...
1 parent 5fe4332 commit dc0b8a505764a9d30e9e8b6a2f5335fef9202bd2 @syohex committed Dec 3, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 t/02_search.t
View
5 t/02_search.t
@@ -39,6 +39,11 @@ subtest 'invalid parameter' => sub {
$dmm->search( site => 'DMM.com', offset => -1 );
};
like $@, qr/should be positive number/, 'invalid offset parameter';
+
+ eval {
+ $dmm->search( site => 'DMM.com', version => '0' );
+ };
+ like $@, qr/Invalid version '0'/, 'invalid version number';
};
subtest 'service and floor at DMM.com' => sub {

0 comments on commit dc0b8a5

Please sign in to comment.
Something went wrong with that request. Please try again.