]> gitweb.factorcode.org Git - factor.git/blobdiff - core/vectors/vectors-tests.factor
core: Don't use with-scope. H{ } clone [ ] with-variables is the same thing and is...
[factor.git] / core / vectors / vectors-tests.factor
index 7a7442fe10a11afc45a59eb7ac4ef329a39e3fb0..8bec970377b1f3140ed964d32bc60df0f055bf38 100644 (file)
@@ -81,10 +81,9 @@ IN: vectors.tests
 ] unit-test
 
 { 0 } [
-    [
-        10 <vector> "x" set
+    10 <vector> "x" [
         "x" get clone length
-    ] with-scope
+    ] with-variable
 ] unit-test
 
 { f } [ 5 V{ } index ] unit-test