diff options
Diffstat (limited to 'tests/debug.test')
-rw-r--r-- | tests/debug.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/debug.test b/tests/debug.test index dd12a99..a86d472 100644 --- a/tests/debug.test +++ b/tests/debug.test @@ -7,11 +7,11 @@ set x 0 test debug-0.1 {debug too few args} -body { debug -} -returnCodes error -result {wrong # args: should be "debug subcommand ?...?"} +} -returnCodes error -match glob -result {wrong # args: should be "debug command ..."*} test debug-0.2 {debug bad option} -body { debug badoption -} -returnCodes error -result {bad subcommand "badoption": must be exprbc, exprlen, invstr, objcount, objects, refcount, scriptlen, or show} +} -returnCodes error -result {debug, unknown command "badoption": should be exprbc, exprlen, invstr, objcount, objects, refcount, scriptlen, show} test debug-1.1 {debug refcount too few args} -body { debug refcount |