summaryrefslogtreecommitdiffstats
path: root/tests/winDde.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/winDde.test')
-rw-r--r--tests/winDde.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/winDde.test b/tests/winDde.test
index a5b9a9f..9e0b20a 100644
--- a/tests/winDde.test
+++ b/tests/winDde.test
@@ -19,8 +19,8 @@ testConstraint dde 0
if {[testConstraint win]} {
if {![catch {
::tcltest::loadTestedCommands
- package require -exact dde 1.4.0b1
- set ::ddelib [lindex [package ifneeded dde 1.4.0b1] 1]}]} {
+ set ::ddever [package require dde 1.4.0b1]
+ set ::ddelib [lindex [package ifneeded dde $::ddever] 1]}]} {
testConstraint dde 1
}
}
@@ -102,7 +102,7 @@ proc createChildProcess {ddeServerName args} {
# -------------------------------------------------------------------------
test winDde-1.0 {check if we are testing the right dll} {win dde} {
- package versions dde
+ set ::ddever
} {1.4.0b1}
test winDde-1.1 {Settings the server's topic name} -constraints dde -body {