ebiten: Refactoring

This commit is contained in:
Hajime Hoshi 2020-08-17 04:28:01 +09:00
parent c921a63c21
commit bebad644ad

View File

@ -48,7 +48,7 @@ func skipTooSlowTests(t *testing.T) bool {
// In Go1.12, converting JS arrays from/to slices uses TypedArrayOf, and this might allocates
// too many ArrayBuffers.
if major == 1 && minor <= 12 {
t.Skip(fmt.Sprintf("too slow on Go%d.%dWasm", major, minor))
t.Skipf("too slow on Go%d.%dWasm", major, minor)
return true
}
}