tracks/go/exercises/raindrops/raindrops_test.go in trackler-2.0.8.18 vs tracks/go/exercises/raindrops/raindrops_test.go in trackler-2.0.8.19
- old
+ new
@@ -2,13 +2,16 @@
import "testing"
const targetTestVersion = 2
-func TestConvert(t *testing.T) {
+func TestTestVersion(t *testing.T) {
if testVersion != targetTestVersion {
t.Fatalf("Found testVersion = %v, want %v", testVersion, targetTestVersion)
}
+}
+
+func TestConvert(t *testing.T) {
for _, test := range tests {
if actual := Convert(test.input); actual != test.expected {
t.Errorf("Convert(%d) = %q, expected %q.",
test.input, actual, test.expected)
}