summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-11-07 18:13:42 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-11-07 18:13:42 (GMT)
commitd0302a7516eb49d7b73d356685cda4d964749ce0 (patch)
tree77604a850b39df025323b13c7221cacbd21343c8
parent4d296190563cb28ae6c394e243da8f70973290b5 (diff)
downloadtk-d0302a7516eb49d7b73d356685cda4d964749ce0.zip
tk-d0302a7516eb49d7b73d356685cda4d964749ce0.tar.gz
tk-d0302a7516eb49d7b73d356685cda4d964749ce0.tar.bz2
Add non regression test for bug [4ebcc04dc4]
-rw-r--r--tests/fontchooser.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/fontchooser.test b/tests/fontchooser.test
index 3ec7309..f34349a 100644
--- a/tests/fontchooser.test
+++ b/tests/fontchooser.test
@@ -11,7 +11,7 @@ testConstraint failsOnUbuntuNoXft [expr {[testConstraint failsOnUbuntu] || (![ca
# the following helper functions are related to the functions used
# in winDialog.test where they are used to send messages to the win32
-# dialog (hence the wierdness).
+# dialog (hence the weirdness).
proc start {cmd} {
set ::tk_dialog {}
@@ -193,6 +193,12 @@ test fontchooser-4.4 {fontchooser -font} -constraints {scriptImpl failsOnUbuntuN
lrange $::testfont 1 end
} -result {14 bold}
+test fontchooser-5.1 {fontchooser multiple configure} -constraints {scriptImpl} -body {
+ tk fontchooser configure -title TestTitle -command foo
+ tk fontchooser configure -command bar
+ tk fontchooser configure -title
+} -result {TestTitle}
+
# -------------------------------------------------------------------------
cleanupTests