tracks/go/exercises/luhn/.meta/gen.go in trackler-2.2.1.81 vs tracks/go/exercises/luhn/.meta/gen.go in trackler-2.2.1.82

- old
+ new

@@ -20,12 +20,14 @@ // The JSON structure we expect to be able to unmarshal into type js struct { Cases []struct { Description string - Input string - Expected bool + Input struct { + Value string + } + Expected bool } } // template applied to above data structure generates the Go test cases var tmpl = `package luhn @@ -37,10 +39,10 @@ input string ok bool }{ {{range .J.Cases}}{ {{printf "%q" .Description}}, - {{printf "%q" .Input}}, + {{printf "%q" .Input.Value}}, {{.Expected}}, }, {{end}} }`