diff --git a/tests/validate.h b/tests/validate.h
index c82bfe3..aad74f9 100644
--- a/tests/validate.h
+++ b/tests/validate.h
@@ -350,7 +350,7 @@
     { "X3F", UndefinedCompression, 0.0 },
     { "XBM", UndefinedCompression, 0.0 },
     { "XCF", UndefinedCompression, 0.0 },
-    { "XPM", UndefinedCompression, 0.0 },
+    { "XPM", UndefinedCompression, 0.003 },
     { "XPS", UndefinedCompression, 0.0 },
     { "XV", UndefinedCompression, 0.0 },
 #if !defined(MAGICKCORE_WINDOWS_SUPPORT)