aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skate/schema_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/skate/schema_test.go b/skate/schema_test.go
index fe59996..6cf4559 100644
--- a/skate/schema_test.go
+++ b/skate/schema_test.go
@@ -161,6 +161,8 @@ func TestParseIsbn(t *testing.T) {
{s: "", result: nil},
{s: "0000000000000000000000", result: nil},
{s: "978953510472X", result: nil},
+ {s: "978-0-262-06197-1", result: []string{"9780262061971"}},
+ {s: "0-262-06197-X", result: []string{"9780262061971"}},
{s: "9789535104728 9789535104728 9789535104728", result: []string{"9789535104728"}},
{
s: "Continuous, .. Dr. Marina Pana (Ed.), ISBN: 978-953-51-0472-8, InTech, Available from",