summaryrefslogtreecommitdiffstats
path: root/tests/winDialog.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-10-20 09:20:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-10-20 09:20:32 (GMT)
commit3234fcf5e1e9351efb6429e5a9fff8029c78d44a (patch)
treedfa182d5d6cfbb9dd4cc28c47818ab2fedf239a9 /tests/winDialog.test
parent20b1ab23ce4646be5d2e8df9f62e6b62f6b7f98f (diff)
downloadtk-3234fcf5e1e9351efb6429e5a9fff8029c78d44a.zip
tk-3234fcf5e1e9351efb6429e5a9fff8029c78d44a.tar.gz
tk-3234fcf5e1e9351efb6429e5a9fff8029c78d44a.tar.bz2
- Fix winDialog-9.7 test in case "initialdir" contains capital characters.
- Add "uuid.lib" as requirement for tkWinDialog.c
Diffstat (limited to 'tests/winDialog.test')
-rw-r--r--tests/winDialog.test6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/winDialog.test b/tests/winDialog.test
index bbacf3f..ad648c0 100644
--- a/tests/winDialog.test
+++ b/tests/winDialog.test
@@ -264,10 +264,6 @@ test winDialog-5.6 {GetFileName: valid option, but missing value} -constraints {
test winDialog-5.7 {GetFileName: extension begins with .} -constraints {
nt testwinevent
} -body {
-# if (string[0] == '.') {
-# string++;
-# }
-
start {set x [tk_getSaveFile -defaultextension .foo -title Save]}
set msg {}
then {
@@ -580,7 +576,7 @@ test winDialog-9.7 {Tk_ChooseDirectoryObjCmd: -initialdir} -constraints {
Click ok
}
string tolower [set x]
-} -result [initialdir]
+} -result [string tolower [initialdir]]
test winDialog-9.8 {Tk_ChooseDirectoryObjCmd: initial directory: Tcl_TranslateFilename()} -constraints {
nt
} -body {