diff --git a/tests/go/prog/test_lastword.go b/tests/go/prog/test_lastword.go index e291c1fcd..be5de0ae4 100644 --- a/tests/go/prog/test_lastword.go +++ b/tests/go/prog/test_lastword.go @@ -10,7 +10,7 @@ func main() { " lorem,ipsum ", } - args = append(args, lib.MultRandWords()) + args = append(args, lib.MultRandWords()...) for _, v := range args { lib.ChallengeMain("lastword", v) diff --git a/tests/go/prog/test_nbrconvertalpha.go b/tests/go/prog/test_nbrconvertalpha.go index 0b4aa3fb0..9c7a12c19 100644 --- a/tests/go/prog/test_nbrconvertalpha.go +++ b/tests/go/prog/test_nbrconvertalpha.go @@ -8,14 +8,14 @@ import ( ) func main() { - table := []string{{ + table := []string{ "--upper 8 5 25", "8 5 12 12 15", "12 5 7 5 14 56 4 1 18 25", "12 5 7 5 14 56 4 1 18 25 32 86 h", "32 86 h", "", - }} + } for i := 0; i < 5; i++ { m := lib.MultRandIntBetween(1, 46) s := ""