summaryrefslogtreecommitdiffstats
path: root/tests/ttk/checkbutton.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ttk/checkbutton.test')
-rw-r--r--tests/ttk/checkbutton.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/ttk/checkbutton.test b/tests/ttk/checkbutton.test
index e18ff32..ec58173 100644
--- a/tests/ttk/checkbutton.test
+++ b/tests/ttk/checkbutton.test
@@ -3,8 +3,9 @@
#
package require Tk
-package require tcltest ; namespace import -force tcltest::*
-loadTestedCommands
+package require tcltest
+namespace import -force tcltest::*
+tcltest::loadTestedCommands
test checkbutton-1.1 "Checkbutton check" -body {
pack [ttk::checkbutton .cb -text "TCheckbutton" -variable cb]
@@ -43,6 +44,6 @@ test checkbutton-1.6 "Checkbutton default variable" -body {
lappend result [info exists .cb] [set .cb] [.cb state]
.cb invoke
lappend result [info exists .cb] [set .cb] [.cb state]
-} -result [list .cb 0 alternate 1 on selected 1 off {}]
+} -result [list .cb 0 alternate 1 on selected 1 off ""]
tcltest::cleanupTests