This commit is contained in:
Ben Charlton 2017-12-12 21:45:36 +00:00
parent 0eec315f95
commit bf5ef31334
2 changed files with 14 additions and 16 deletions

View file

@ -25,10 +25,9 @@ func TestCountPipes(t *testing.T) {
}
}
func TestCountGroups(t *testing.T) {
seen := make(map[int]int)
v,_ := CountGroups(seen, tests)
v, _ := CountGroups(seen, tests)
if v != 2 {
t.Error(
"For", tests,
@ -36,4 +35,4 @@ func TestCountGroups(t *testing.T) {
"got", v,
)
}
}
}