summaryrefslogtreecommitdiffstats
path: root/tests/choosedir.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-04-30 18:11:08 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-04-30 18:11:08 (GMT)
commite8315eeabd717297bcff5144bb93b82c411c4a32 (patch)
tree341fb931e804ffb7fef4fed4cf14ad107ef24a00 /tests/choosedir.test
parent6f8b1791a5659b74ebf1dda6c2107dd4bb26cdc1 (diff)
downloadtk-e8315eeabd717297bcff5144bb93b82c411c4a32.zip
tk-e8315eeabd717297bcff5144bb93b82c411c4a32.tar.gz
tk-e8315eeabd717297bcff5144bb93b82c411c4a32.tar.bz2
Fix [66db98f30d]: choosedir-1.5 fails on macOS
Diffstat (limited to 'tests/choosedir.test')
-rw-r--r--tests/choosedir.test6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/choosedir.test b/tests/choosedir.test
index fb6e62d..8675e10 100644
--- a/tests/choosedir.test
+++ b/tests/choosedir.test
@@ -97,10 +97,12 @@ test choosedir-1.3 {tk_chooseDirectory command} -constraints unix -body {
test choosedir-1.4 {tk_chooseDirectory command} -constraints unix -body {
tk_chooseDirectory -title
} -returnCodes error -result {value for "-title" missing}
-
-test choosedir-1.5 {tk_chooseDirectory command} -constraints unix -body {
+test choosedir-1.5.1 {tk_chooseDirectory command} -constraints {unix notAqua} -body {
tk_chooseDirectory -foo bar
} -returnCodes error -result {bad option "-foo": must be -initialdir, -mustexist, -parent, or -title}
+test choosedir-1.5.2 {tk_chooseDirectory command} -constraints aqua -body {
+ tk_chooseDirectory -foo bar
+} -returnCodes error -result {bad option "-foo": -initialdir, -message, -mustexist, -parent, -title, or -command}
test choosedir-1.6 {tk_chooseDirectory command} -constraints unix -body {
tk_chooseDirectory -parent foo.bar
} -returnCodes error -result {bad window path name "foo.bar"}