]> gitweb.factorcode.org Git - factor.git/commitdiff
specialized-arrays: fix unit tests now that ALIEN: expects a hex literal
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sun, 13 Sep 2009 05:24:31 +0000 (00:24 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sun, 13 Sep 2009 05:24:31 +0000 (00:24 -0500)
basis/specialized-arrays/specialized-arrays-tests.factor

index ebc21eec5675e8e7b2c45838565a09645b292aee..2698149bac4c594f261a246353cc56e27e241f69 100755 (executable)
@@ -100,12 +100,12 @@ SPECIALIZED-ARRAY: test-struct
 ] unit-test
 
 ! Regression
-STRUCT: fixed-string { text char[100] } ;
+STRUCT: fixed-string { text char[64] } ;
 
 SPECIALIZED-ARRAY: fixed-string
 
-[ { ALIEN: 123 ALIEN: 223 ALIEN: 323 ALIEN: 423 } ] [
-    ALIEN: 123 4 <direct-fixed-string-array> [ (underlying)>> ] { } map-as
+[ { ALIEN: 100 ALIEN: 140 ALIEN: 180 ALIEN: 1c0 } ] [
+    ALIEN: 100 4 <direct-fixed-string-array> [ (underlying)>> ] { } map-as
 ] unit-test
 
 ! Ensure that byte-length works with direct arrays