]> gitweb.factorcode.org Git - factor.git/commitdiff
images.loader: fix tests.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 10 Mar 2020 17:20:21 +0000 (10:20 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 10 Mar 2020 17:20:21 +0000 (10:20 -0700)
basis/images/loader/loader-tests.factor

index 63ab1e2735beeb8e5479432ad853c130620dc4f0..26a83c010cef472e4fbe862a88945fe6436c5196 100644 (file)
@@ -42,11 +42,11 @@ os { linux windows } member? [
 
     ! Windows 32 can't save .bmp-files for unknown reason. It can load
     ! them though.
-    { t } [
-        64bit? [
+    64bit? [
+        { t } [
             open-png-image dup "bmp" convert-to =
-        ] when
-    ] unit-test
+        ] unit-test
+    ] when
 
     { t } [
         "vocab:images/testing/bmp/rgb_8bit.bmp" load-image dup