]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.tests.codegen: fix two more tests
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 8 Feb 2024 01:26:39 +0000 (17:26 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 8 Feb 2024 01:26:39 +0000 (17:26 -0800)
basis/compiler/tests/codegen.factor

index f91576a40d9a972fdc50cbec15fdf3cba37905c7..9eb461aca7a045e96161097bb5a9b05b98e63836 100644 (file)
@@ -401,8 +401,8 @@ cell 4 = [
 
 ${ 1 os macosx? "0.169967142900241" "0.16996714290024104" ? } [ 1.4 [ 1 swap fcos ] compile-call number>string ] unit-test
 ${ 1 os macosx? "0.169967142900241" "0.16996714290024104" ? } [ 1.4 1 [ swap fcos ] compile-call number>string ] unit-test
-{ "0.169967142900241" "0.9854497299884601" } [ 1.4 [ [ fcos ] [ fsin ] bi ] compile-call [ number>string ] bi@ ] unit-test
-{ 1 "0.169967142900241" "0.9854497299884601" } [ 1.4 1 [ swap >float [ fcos ] [ fsin ] bi ] compile-call [ number>string ] bi@ ] unit-test
+${ os macosx? "0.169967142900241" "0.16996714290024104" ? "0.9854497299884601" } [ 1.4 [ [ fcos ] [ fsin ] bi ] compile-call [ number>string ] bi@ ] unit-test
+${ 1 os macosx? "0.169967142900241" "0.16996714290024104" ? "0.9854497299884601" } [ 1.4 1 [ swap >float [ fcos ] [ fsin ] bi ] compile-call [ number>string ] bi@ ] unit-test
 
 { 6.0 } [ 1.0 [ >float 3.0 + [ B{ 0 0 0 0 } 0 set-alien-float ] [ 2.0 + ] bi ] compile-call ] unit-test