]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/compiler/cfg/dominance/dominance-tests.factor
factor: use new math.ranges syntax in tests and docs
[factor.git] / basis / compiler / cfg / dominance / dominance-tests.factor
index d963c961408b096602b08396b42b0ff02689b54a..66cb3211a87f83ec5a2d599d60dc37b99299ffbd 100644 (file)
@@ -52,7 +52,7 @@ V{ } 4 test-bb
 
 { } [ test-dominance ] unit-test
 
-{ t } [ 0 4 [a,b] [ get dom-parent 0 get eq? ] all? ] unit-test
+{ t } [ 0 4 [a..b] [ get dom-parent 0 get eq? ] all? ] unit-test
 
 ! The other example from the paper
 V{ } 0 test-bb
@@ -71,7 +71,7 @@ V{ } 5 test-bb
 
 { } [ test-dominance ] unit-test
 
-{ t } [ 0 5 [a,b] [ get dom-parent 0 get eq? ] all? ] unit-test
+{ t } [ 0 5 [a..b] [ get dom-parent 0 get eq? ] all? ] unit-test
 
 : non-det-test ( -- cfg )
     9 <iota> [ V{ } clone over insns>block ] { } map>assoc dup