]> gitweb.factorcode.org Git - factor.git/blobdiff - core/hashtables/hashtables-tests.factor
assocs: Add of and ?of. Change all the things at once! Fixes #701.
[factor.git] / core / hashtables / hashtables-tests.factor
index 40ccfc4e9a53801755e75fc44a2438a7189578a8..f9d5f7c17420e7a32bfd72a67155ef87866e9db3 100644 (file)
@@ -177,4 +177,4 @@ H{ } "x" set
 [ 1 ] [ 2 "h" get at ] unit-test
 
 ! Random test case
-[ "A" ] [ 100 iota [ dup ] H{ } map>assoc 32 over delete-at "A" 32 pick set-at 32 swap at ] unit-test
+[ "A" ] [ 100 iota [ dup ] H{ } map>assoc 32 over delete-at "A" 32 pick set-at 32 of ] unit-test