diff options
Diffstat (limited to 'tests/trace.test')
-rw-r--r-- | tests/trace.test | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/trace.test b/tests/trace.test index d830f3c..9c01908 100644 --- a/tests/trace.test +++ b/tests/trace.test @@ -14,9 +14,6 @@ package require tcltest namespace import ::tcltest::* -::tcltest::loadTestedCommands -catch [list package require -exact Tcltest [info patchlevel]] - testConstraint testcmdtrace [llength [info commands testcmdtrace]] testConstraint testevalobjv [llength [info commands testevalobjv]] @@ -856,13 +853,13 @@ foreach type {variable command} { test trace-14.1 "trace command, wrong # args errors" { list [catch {trace} msg] $msg -} [list 1 "wrong # args: should be \"trace option ?arg ...?\""] +} [list 1 "wrong # args: should be \"trace option ?arg arg ...?\""] test trace-14.2 "trace command, wrong # args errors" { list [catch {trace add} msg] $msg -} [list 1 "wrong # args: should be \"trace add type ?arg ...?\""] +} [list 1 "wrong # args: should be \"trace add type ?arg arg ...?\""] test trace-14.3 "trace command, wrong # args errors" { list [catch {trace remove} msg] $msg -} [list 1 "wrong # args: should be \"trace remove type ?arg ...?\""] +} [list 1 "wrong # args: should be \"trace remove type ?arg arg ...?\""] test trace-14.4 "trace command, wrong # args errors" { list [catch {trace info} msg] $msg } [list 1 "wrong # args: should be \"trace info type name\""] |