fixed test script, check needs to be added so that you cannot remove history items...
authorMart Lubbers <mart@martlubbers.net>
Wed, 27 Jan 2016 17:39:43 +0000 (18:39 +0100)
committerMart Lubbers <mart@martlubbers.net>
Wed, 27 Jan 2016 17:39:43 +0000 (18:39 +0100)
test.icl

index 18e1292..6dd1f5a 100644 (file)
--- a/test.icl
+++ b/test.icl
@@ -13,8 +13,10 @@ Start w
 #! w = setReadLineName "Test program" w
 #! w = usingHistory w
 #! (_, w) = readHistory "readline.history" w
-#! w = addHistory "testentry" w
-#! w = addHistoryTime "time" w
+#! w = addHistory "testentry1" w
+#! w = addHistoryTime "time1" w
+#! w = addHistory "testentry2" w
+#! w = addHistoryTime "time2" w
 #! (hi, w) = removeHistory 1 w
 #! (hy, w) = replaceHistoryEntry 1 "replacement" w
 #! (s, w) = readLine "first prompt: " True w