--- a/t/131_save_tiff.t
+++ b/t/131_save_tiff.t
@@ -43,12 +43,12 @@ Gtk3->main;
 
 like(
     capture(qw(identify test.tif)),
-    qr/test.tif TIFF 70x46 70x46\+0\+0 8-bit sRGB [7|9][.\d]+K?B/,
+    qr/test.tif TIFF 70x46 70x46\+0\+0 8-bit sRGB/,
     'valid TIFF created'
 );
 like(
     capture(qw(identify test2.png)),
-    qr/test2.png PNG 70x46 70x46\+0\+0 8-bit sRGB 7[.\d]+K?B.*/,
+    qr/test2.png PNG 70x46 70x46\+0\+0 8-bit sRGB/,
     'ran post-save hook'
 );
 
