Browse Source

Fix mistakes

pull/533/head
Xavier Petit 4 years ago committed by xpetit
parent
commit
512003bb7b
  1. 2
      tests/go/prog/test_lastword.go
  2. 4
      tests/go/prog/test_nbrconvertalpha.go

2
tests/go/prog/test_lastword.go

@ -10,7 +10,7 @@ func main() {
" lorem,ipsum ", " lorem,ipsum ",
} }
args = append(args, lib.MultRandWords()) args = append(args, lib.MultRandWords()...)
for _, v := range args { for _, v := range args {
lib.ChallengeMain("lastword", v) lib.ChallengeMain("lastword", v)

4
tests/go/prog/test_nbrconvertalpha.go

@ -8,14 +8,14 @@ import (
) )
func main() { func main() {
table := []string{{ table := []string{
"--upper 8 5 25", "--upper 8 5 25",
"8 5 12 12 15", "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",
"12 5 7 5 14 56 4 1 18 25 32 86 h", "12 5 7 5 14 56 4 1 18 25 32 86 h",
"32 86 h", "32 86 h",
"", "",
}} }
for i := 0; i < 5; i++ { for i := 0; i < 5; i++ {
m := lib.MultRandIntBetween(1, 46) m := lib.MultRandIntBetween(1, 46)
s := "" s := ""

Loading…
Cancel
Save