Proper format string for ints

This commit is contained in:
Daniel Martí 2015-09-26 11:52:33 -07:00
parent 011db554e5
commit 61e4eb4e1f

View File

@ -384,7 +384,7 @@ func TestUpdate(t *testing.T) {
go func(name string, f func(string)) {
defer wg.Done()
f(name)
}(fmt.Sprintf("%v-%v", i, j), f)
}(fmt.Sprintf("%d-%d", i, j), f)
}
}
wg.Wait()