mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
text/v2: fix test
This commit is contained in:
parent
36fc5b0266
commit
2432888b9f
@ -233,10 +233,10 @@ func TestUnhashableFace(t *testing.T) {
|
|||||||
var want color.RGBA
|
var want color.RGBA
|
||||||
if i < unhashableStdFaceSize && j < unhashableStdFaceSize {
|
if i < unhashableStdFaceSize && j < unhashableStdFaceSize {
|
||||||
want = color.RGBA{R: 0xff, G: 0xff, B: 0xff, A: 0xff}
|
want = color.RGBA{R: 0xff, G: 0xff, B: 0xff, A: 0xff}
|
||||||
|
}
|
||||||
if got != want {
|
if got != want {
|
||||||
t.Errorf("At(%d, %d): got: %v, want: %v", i, j, got, want)
|
t.Errorf("At(%d, %d): got: %v, want: %v", i, j, got, want)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user