tracks/go/exercises/wordy/.meta/gen.go in trackler-2.2.1.98 vs tracks/go/exercises/wordy/.meta/gen.go in trackler-2.2.1.99

- old
+ new

@@ -18,12 +18,14 @@ } } type OneCase struct { Description string - Input string - Expected interface{} + Input struct { + Question string + } + Expected interface{} } // The JSON structure we expect to be able to unmarshal into type js struct { Cases []OneCase @@ -63,10 +65,10 @@ } var tests = []wordyTest { {{range .J.Cases}}{ "{{.Description}}", - "{{.Input}}", + "{{.Input.Question}}", {{if .Valid}} true, {{.Answer}}, {{- else}} false, 0, {{- end}}