Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed May 4, 2011
1 parent d7b2b1c commit 820b4ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/extraction.t
@@ -1,4 +1,4 @@
use Test::More tests => 6;
use Test::More tests => 7;
use lib qw/blib lib/;
use ISBN::Country qw/isbn_extract/;
use strict;
Expand All @@ -19,3 +19,5 @@ is $h->{lang}[0], 'en', 'isbn-13 without dashes';

$h = isbn_extract('978-0-345-51870-5');
is $h->{lang}[0], 'en', 'isbn-13 with dashes';

is isbn_extract('9509080004')->{lang}[0], 'es', 'they speak Spanish in Argentina';

0 comments on commit 820b4ce

Please sign in to comment.