]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/linked-assocs/linked-assocs-tests.factor
ui.listener: document that ~/.factor-history persists input history
[factor.git] / basis / linked-assocs / linked-assocs-tests.factor
index e4b291ce238842ac56be1c800f7dd87a4ef85505..69c82274a34637229c5d19c3329a95bd91a2e3a9 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2008 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
+! See https://factorcode.org/license.txt for BSD license.
 USING: accessors assocs kernel linked-assocs math sequences
 tools.test ;
-IN: linked-assocs.test
 
 { { 1 2 3 } } [
     <linked-hash> 1 "b" pick set-at
@@ -79,3 +78,5 @@ IN: linked-assocs.test
     { { "a" "b" } { "c" "d" } }
     [ >linked-hash ] [ >linked-hash ] bi =
 ] unit-test
+
+{ LH{ } } [ 0 LH{ { 1 2 } { 3 4 } } new-assoc ] unit-test