Browse Source

fix

pull/686/head
xpetit 4 years ago
parent
commit
84d81c078d
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 64
      go/tests/prog/printrot_test/main.go

64
go/tests/prog/printrot_test/main.go

@ -6,38 +6,38 @@ import (
)
func main() {
table := string{}
table = append(table, "A")
table = append(table, "a")
table = append(table, "b")
table = append(table, "c")
table = append(table, "d")
table = append(table, "e")
table = append(table, "f")
table = append(table, "g")
table = append(table, "h")
table = append(table, "i")
table = append(table, "j")
table = append(table, "k")
table = append(table, "l")
table = append(table, "m")
table = append(table, "n")
table = append(table, "o")
table = append(table, "p")
table = append(table, "q")
table = append(table, "r")
table = append(table, "s")
table = append(table, "t")
table = append(table, "u")
table = append(table, "v")
table = append(table, "w")
table = append(table, "x")
table = append(table, "y")
table = append(table, "z")
table = append(table, "Z")
table = append(table, "2 arguments")
table = append(table, "4 arguments so invalid")
table := []string{
"A",
"a",
"b",
"c",
"d",
"e",
"f",
"g",
"h",
"i",
"j",
"k",
"l",
"m",
"n",
"o",
"p",
"q",
"r",
"s",
"t",
"u",
"v",
"w",
"x",
"y",
"z",
"Z",
"2 arguments",
"4 arguments so invalid",
}
for _, s := range table {
lib.ChallengeMain("printrot", strings.Fields(s)...)
}

Loading…
Cancel
Save