mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
cmd/gogio: ignore alpha in end-to-end tests
On FreeBSD the X11 test seems to succeed except for the alpha value: --- FAIL: TestX11 (2.04s) js_test.go:138: got 0xffff000000000000 at (5,5), want 0xffff00000000ffff js_test.go:138: got 0xffff000000000000 at (595,595), want 0xffff00000000ffff FAIL Ignore alpha values for now. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -170,7 +170,7 @@ func TestX11(t *testing.T) {
|
||||
t.Fatalf("expected dimensions to be %d*%d, got %d*%d",
|
||||
wantSize, wantSize, size.X, size.Y)
|
||||
}
|
||||
wantColor(t, img, 5, 5, 0xffff, 0x0, 0x0, 0xffff)
|
||||
wantColor(t, img, 595, 595, 0xffff, 0x0, 0x0, 0xffff)
|
||||
wantColor(t, img, 5, 5, 0xffff, 0x0, 0x0)
|
||||
wantColor(t, img, 595, 595, 0xffff, 0x0, 0x0)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user