1diff --git a/t/core_surface.t b/t/core_surface.t
2index 897536b6..03efa859 100644
3--- a/t/core_surface.t
4+++ b/t/core_surface.t
5@@ -51,7 +51,10 @@ is( $image->h, 32, 'image has height' );
6
7 my $pixel_format = $image->format;
8 isa_ok( $pixel_format, 'SDL::PixelFormat' );
9-is( $pixel_format->BitsPerPixel, 8, ' BitsPerPixel' );
10+# the bitmap has a bitdepth of 4
11+# SDL_classic could not allocate less than full bytes per pixel
12+# sdl12-compat returns the actual bit depth of the image here
13+is( $pixel_format->BitsPerPixel, 4, ' BitsPerPixel' );
14 is( $pixel_format->BytesPerPixel, 1, ' BytesPerPixel' );
15 is( $pixel_format->Rloss, 8, ' Rloss' );
16 is( $pixel_format->Gloss, 8, ' Gloss' );