tracks/go/exercises/isbn-verifier/cases_test.go in trackler-2.2.1.81 vs tracks/go/exercises/isbn-verifier/cases_test.go in trackler-2.2.1.82
- old
+ new
@@ -1,10 +1,10 @@
package isbn
// Source: exercism/problem-specifications
-// Commit: 3251fa6 Rename property for isbn-verifier exercise
-// Problem Specifications Version: 2.0.0
+// Commit: 4288ee0 isbn-verifier: add empty isbn case
+// Problem Specifications Version: 2.2.0
var testCases = []struct {
isbn string
expected bool
description string
@@ -20,6 +20,7 @@
{"359821507", false, "isbn without check digit and dashes"},
{"3598215078X", false, "too long isbn and no dashes"},
{"3-598-21507", false, "isbn without check digit"},
{"3-598-21507-XX", false, "too long isbn"},
{"3-598-21515-X", false, "check digit of X should not be used for 0"},
+ {"", false, "empty isbn"},
}