diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-24 15:58:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-24 15:58:14 (GMT) |
commit | ed5dd16c2ee4779451651a8edade91ecca229538 (patch) | |
tree | 0e741b18c7772ea2b0697532929f42140056ee0b /tests | |
parent | 196c6c9af3eb4b96a9b0b94f7e41963167b534b8 (diff) | |
download | tk-ed5dd16c2ee4779451651a8edade91ecca229538.zip tk-ed5dd16c2ee4779451651a8edade91ecca229538.tar.gz tk-ed5dd16c2ee4779451651a8edade91ecca229538.tar.bz2 |
Consistant Tcl_WrongNumArg() arguments when the command contains ?-option value ...? arguments
Diffstat (limited to 'tests')
-rw-r--r-- | tests/busy.test | 2 | ||||
-rw-r--r-- | tests/listbox.test | 2 | ||||
-rw-r--r-- | tests/textTag.test | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/busy.test b/tests/busy.test index f0b11be..bc0ae5f 100644 --- a/tests/busy.test +++ b/tests/busy.test @@ -182,7 +182,7 @@ test busy-3.7 {tk busy cget unix} -setup { test busy-4.1 {tk busy configure no window} -returnCodes error -body { tk busy configure -} -result {wrong # args: should be "tk busy configure window ?-option? ?value ...?"} +} -result {wrong # args: should be "tk busy configure window ?-option value ...?"} test busy-4.2 {tk busy configure invalid window} -body { tk busy configure .f diff --git a/tests/listbox.test b/tests/listbox.test index 9b667cd..d2fb66d 100644 --- a/tests/listbox.test +++ b/tests/listbox.test @@ -2854,7 +2854,7 @@ test listbox-23.4 {ConfigureListboxItem, wrong num args} -setup { set result } -cleanup { destroy .l -} -result {wrong # args: should be ".l itemconfigure index ?-option? ?value? ?-option value ...?"} +} -result {wrong # args: should be ".l itemconfigure index ?-option value ...?"} test listbox-23.5 {ConfigureListboxItem, multiple calls} -setup { destroy .l } -body { diff --git a/tests/textTag.test b/tests/textTag.test index 2fad125..94db751 100644 --- a/tests/textTag.test +++ b/tests/textTag.test @@ -488,7 +488,7 @@ test textTag-4.5 {TkTextTagCmd - "cget" option} -body { test textTag-5.1 {TkTextTagCmd - "configure" option} -body { .t tag configure -} -returnCodes error -result {wrong # args: should be ".t tag configure tagName ?-option? ?value? ?-option value ...?"} +} -returnCodes error -result {wrong # args: should be ".t tag configure tagName ?-option value ...?"} test textTag-5.2 {TkTextTagCmd - "configure" option} -body { .t tag configure x -foo } -returnCodes error -result {unknown option "-foo"} |