text/v2: fix test

This commit is contained in:
Hajime Hoshi 2023-11-21 14:32:30 +09:00
parent 36fc5b0266
commit 2432888b9f

View File

@ -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)
} }
} }
} }
} }
}