diff options
author | dgp <dgp@users.sourceforge.net> | 2008-10-07 18:33:47 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2008-10-07 18:33:47 (GMT) |
commit | 63c359ba7d83c07b4e62bc619ad196646f904e4a (patch) | |
tree | 15ff031ed89368b0bf91758150ee428c26b416df /tests | |
parent | ec5e9ba3561331b4e021bbec07fa0580cc6ef9ad (diff) | |
download | tk-63c359ba7d83c07b4e62bc619ad196646f904e4a.zip tk-63c359ba7d83c07b4e62bc619ad196646f904e4a.tar.gz tk-63c359ba7d83c07b4e62bc619ad196646f904e4a.tar.bz2 |
and another one
Diffstat (limited to 'tests')
-rw-r--r-- | tests/winDialog.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/winDialog.test b/tests/winDialog.test index d3cb2a0..faaed9f 100644 --- a/tests/winDialog.test +++ b/tests/winDialog.test @@ -7,7 +7,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # Copyright (c) 1998-1999 ActiveState Corporation. # -# RCS: @(#) $Id: winDialog.test,v 1.20 2008/10/07 18:27:01 dgp Exp $ +# RCS: @(#) $Id: winDialog.test,v 1.21 2008/10/07 18:33:47 dgp Exp $ package require tcltest 2.2 namespace import ::tcltest::* @@ -391,6 +391,7 @@ test winDialog-5.22 {GetFileName: call GetSaveFileName} -constraints { } return $x } -result {&Save} +if {[info exists ::env(TEMP)]} { test winDialog-5.23 {GetFileName: convert \ to /} -constraints { nt testwinevent } -body { @@ -401,6 +402,7 @@ test winDialog-5.23 {GetFileName: convert \ to /} -constraints { } return $x } -result [file join [file normalize $::env(TEMP)] "12x 457"] +} test winDialog-5.24 {GetFileName: file types: MakeFilter() succeeds} -constraints { nt } -body { |