summaryrefslogtreecommitdiffstats
path: root/tests/registry.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/registry.test')
-rw-r--r--tests/registry.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/registry.test b/tests/registry.test
index 8f8aa98..77588e3 100644
--- a/tests/registry.test
+++ b/tests/registry.test
@@ -19,7 +19,7 @@ testConstraint reg 0
if {[testConstraint win]} {
if {![catch {
::tcltest::loadTestedCommands
- package require -exact registry 1.3.0
+ set ::regver [package require registry 1.3.0]
}]} {
testConstraint reg 1
}
@@ -32,7 +32,7 @@ testConstraint english [expr {
}]
test registry-1.0 {check if we are testing the right dll} {win reg} {
- package versions registry
+ set ::regver
} {1.3.0}
test registry-1.1 {argument parsing for registry command} {win reg} {
list [catch {registry} msg] $msg