aboutsummaryrefslogtreecommitdiff
path: root/tests/jim.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/jim.test')
-rw-r--r--tests/jim.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/jim.test b/tests/jim.test
index eff2c1f..2d245db 100644
--- a/tests/jim.test
+++ b/tests/jim.test
@@ -3152,9 +3152,9 @@ test info-2.4 {info commands option} {
} {_test1_ _test2_}
catch {rename _test1_ {}}
catch {rename _test2_ {}}
-test info-2.5 {info commands option} {
+test info-2.5 {info commands option} -body {
list [catch {info commands a b} msg] $msg
-} {1 {wrong # args: should be "info commands ?pattern?"}}
+ } -result {1 {wrong # args: should be "info commands ?-all? ?pattern?"}}
test info-3.1 {info exists option} {
set value foo
info exists value