aboutsummaryrefslogtreecommitdiff
path: root/tests/history.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/history.test')
-rw-r--r--tests/history.test12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/history.test b/tests/history.test
index 70b90bf..9abf0ef 100644
--- a/tests/history.test
+++ b/tests/history.test
@@ -9,7 +9,7 @@ Use "history -help ?command?" for help}
test history-1.2 {history -help} -body {
history -help
-} -result {Usage: "history command ... ", where command is one of: add, completion, getline, keep, load, save, show}
+} -result {Usage: "history command ... ", where command is one of: add, completion, getline, hints, keep, load, save, show}
test history-1.2 {history add} {
history add line1
@@ -26,7 +26,7 @@ test history-1.3 {history load} {
test history-1.4 {history completion usage} -body {
history completion
-} -returnCodes error -result {wrong # args: should be "history completion command"}
+} -returnCodes error -match glob -result {wrong # args: should be "history completion *"}
test history-1.5 {history completion} {
history completion command
@@ -36,6 +36,14 @@ test history-1.6 {history completion} {
history completion {}
} {}
+test history-1.7 {history hints} {
+ history hints command
+} {}
+
+test history-1.8 {history hints} {
+ history hints {}
+} {}
+
catch {
file delete $name
}