]> gitweb.factorcode.org Git - factor.git/commitdiff
fix functors tests
authorJoe Groff <arcata@gmail.com>
Wed, 16 Sep 2009 22:38:01 +0000 (17:38 -0500)
committerJoe Groff <arcata@gmail.com>
Wed, 16 Sep 2009 22:38:01 +0000 (17:38 -0500)
basis/functors/functors-tests.factor

index bcdc1bae740bc23c96836a836f3d531670293682..32d578d05d6e422a20fb0a0403fe165c5c1795c9 100644 (file)
@@ -179,35 +179,35 @@ STRUCT: T-class
             { offset 0 }
             { class integer }
             { initial 0 } 
-            { c-type "int" }
+            { type "int" }
         }
         T{ struct-slot-spec
             { name "x" }
             { offset 4 }
             { class object }
             { initial f } 
-            { c-type { "char" 4 } }
+            { type { "char" 4 } }
         }
         T{ struct-slot-spec
             { name "y" }
             { offset 8 }
             { class object }
             { initial f } 
-            { c-type { "short" 2 } }
+            { type { "short" 2 } }
         }
         T{ struct-slot-spec
             { name "z" }
             { offset 12 }
             { class fixnum }
             { initial 5 } 
-            { c-type "char" }
+            { type "char" }
         }
         T{ struct-slot-spec
             { name "float" }
             { offset 16 }
             { class object }
             { initial f } 
-            { c-type { "float" 2 } }
+            { type { "float" 2 } }
         }
     }
 ] [ a-struct struct-slots ] unit-test