summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-10 06:41:48 (GMT)
committerstanton <stanton>1999-03-10 06:41:48 (GMT)
commit657d5f65c08b62b65e3c2d7961715577e28073df (patch)
tree443d47f4889e63074cea772b37d4386b0152a033 /tests
parent0b1221cdae98a17ad9a05f483d6439e2822cc0a8 (diff)
downloadtcl-dev_8_1_stubs_branch.zip
tcl-dev_8_1_stubs_branch.tar.gz
tcl-dev_8_1_stubs_branch.tar.bz2
Merged 8.0 stub changes dev_8_1_stubs_branch
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/pkg.test b/tests/pkg.test
index 2fac347..acc5f1c 100644
--- a/tests/pkg.test
+++ b/tests/pkg.test
@@ -9,7 +9,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: pkg.test,v 1.1.2.2.2.1 1999/03/08 20:14:14 stanton Exp $
+# RCS: @(#) $Id: pkg.test,v 1.1.2.2.2.2 1999/03/10 06:41:53 stanton Exp $
if {[string compare test [info procs test]] == 1} then {source defs}
@@ -604,16 +604,16 @@ test pkg-7.10 {Tcl_PkgPresent procedure, unknown package} {
} {1 {package t 2.4 is not present}}
test pkg-7.11 {Tcl_PackageCmd procedure, "present" option} {
list [catch {package present} msg] $msg
-} {1 {wrong # args: must be "package present ?-exact? package ?version?"}}
+} {1 {wrong # args: should be "package present ?-exact? package ?version?"}}
test pkg-7.12 {Tcl_PackageCmd procedure, "present" option} {
list [catch {package present a b c} msg] $msg
-} {1 {wrong # args: must be "package present ?-exact? package ?version?"}}
+} {1 {wrong # args: should be "package present ?-exact? package ?version?"}}
test pkg-7.13 {Tcl_PackageCmd procedure, "present" option} {
list [catch {package present -exact a b c} msg] $msg
-} {1 {wrong # args: must be "package present ?-exact? package ?version?"}}
+} {1 {wrong # args: should be "package present ?-exact? package ?version?"}}
test pkg-7.14 {Tcl_PackageCmd procedure, "present" option} {
list [catch {package present -bs a b} msg] $msg
-} {1 {wrong # args: must be "package present ?-exact? package ?version?"}}
+} {1 {wrong # args: should be "package present ?-exact? package ?version?"}}
test pkg-7.15 {Tcl_PackageCmd procedure, "present" option} {
list [catch {package present x a.b} msg] $msg
} {1 {expected version number but got "a.b"}}
@@ -622,10 +622,10 @@ test pkg-7.16 {Tcl_PackageCmd procedure, "present" option} {
} {1 {expected version number but got "a.b"}}
test pkg-7.17 {Tcl_PackageCmd procedure, "present" option} {
list [catch {package present -exact x} msg] $msg
-} {1 {wrong # args: must be "package present ?-exact? package ?version?"}}
+} {1 {wrong # args: should be "package present ?-exact? package ?version?"}}
test pkg-7.18 {Tcl_PackageCmd procedure, "present" option} {
list [catch {package present -exact} msg] $msg
-} {1 {wrong # args: must be "package present ?-exact? package ?version?"}}
+} {1 {wrong # args: should be "package present ?-exact? package ?version?"}}
set auto_path $oldPath
package unknown $oldPkgUnknown