]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix two overzealous [ ] removal in tests
authorSamuel Tardieu <sam@rfc1149.net>
Wed, 18 Feb 2009 02:00:16 +0000 (03:00 +0100)
committerSamuel Tardieu <sam@rfc1149.net>
Wed, 18 Feb 2009 02:06:14 +0000 (03:06 +0100)
basis/compiler/tree/propagation/propagation-tests.factor
basis/stack-checker/stack-checker-tests.factor

index f261b8747f13b6b25a76108924b16554afbbc30a..52ae83eb1251c21d077347d3b0c7f80576b48566 100644 (file)
@@ -441,7 +441,7 @@ TUPLE: mixed-mutable-immutable { x integer } { y sequence read-only } ;
 
 [ V{ real } ] [ [ recursive-test-3 ] final-classes ] unit-test
 
-[ V{ real } ] [ [ [ dup 10 < ] while ] final-classes ] unit-test
+[ V{ real } ] [ [ [ dup 10 < ] [ ] while ] final-classes ] unit-test
 
 [ V{ float } ] [
     [ { float } declare 10 [ 2.3 * ] times ] final-classes
index 6cfe80dbf63b1611374bc7fba6100c9cd258c6ba..d90db8ab897c55f462fb0783426158137cc57afb 100644 (file)
@@ -513,7 +513,7 @@ ERROR: custom-error ;
 ! Corner case
 [ [ [ f dup ] [ dup ] [ ] produce ] infer ] must-fail
 
-[ [ [ f dup ] while ] infer ] must-fail
+[ [ [ f dup ] [ ] while ] infer ] must-fail
 
 : erg's-inference-bug ( -- ) f dup [ erg's-inference-bug ] when ; inline