]> gitweb.factorcode.org Git - factor.git/commitdiff
update classes.struct tests to use word c-types
authorJoe Groff <arcata@gmail.com>
Wed, 16 Sep 2009 03:43:11 +0000 (22:43 -0500)
committerJoe Groff <arcata@gmail.com>
Wed, 16 Sep 2009 03:43:11 +0000 (22:43 -0500)
basis/classes/struct/struct-tests.factor

index 3be0be8ef149d287e1e62addb01a3906a8ceb8f1..e9e45487f9e3ea7441905151067ef9c8c057d7f5 100755 (executable)
@@ -6,7 +6,7 @@ io.encodings.utf8 io.pathnames io.streams.string kernel libc
 literals math mirrors multiline namespaces prettyprint
 prettyprint.config see sequences specialized-arrays system
 tools.test parser lexer eval layouts ;
-FROM: math => float
+FROM: math => float ;
 QUALIFIED-WITH: alien.c-types c
 SPECIALIZED-ARRAY: char
 SPECIALIZED-ARRAY: int
@@ -48,9 +48,9 @@ STRUCT: struct-test-bar
 
 [ {
     { "underlying" B{ 98 0 0 98 127 0 0 127 0 0 0 0 } }
-    { { "x" "char" } 98            }
-    { { "y" "int"  } HEX: 7F00007F }
-    { { "z" "bool" } f             }
+    { { "x" char } 98            }
+    { { "y" int  } HEX: 7F00007F }
+    { { "z" bool } f             }
 } ] [
     B{ 98 0 0 98 127 0 0 127 0 0 0 0 } struct-test-foo memory>struct
     make-mirror >alist