summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-05-05 16:48:53 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-05-05 16:48:53 (GMT)
commit5940eaeb9273d7c2c5eaa2e9db99cf403eb3a8fa (patch)
tree2f36c7e5de9f593eccf016c132571ba2e78c41b8 /tests
parentded0ebcd4576288ef13365598a179dfee8fce1ca (diff)
downloadtcl-5940eaeb9273d7c2c5eaa2e9db99cf403eb3a8fa.zip
tcl-5940eaeb9273d7c2c5eaa2e9db99cf403eb3a8fa.tar.gz
tcl-5940eaeb9273d7c2c5eaa2e9db99cf403eb3a8fa.tar.bz2
Corrected error message for grammar and spelling.
Diffstat (limited to 'tests')
-rw-r--r--tests/basic.test4
-rw-r--r--tests/interp.test8
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/basic.test b/tests/basic.test
index c25ef2b..0257ded 100644
--- a/tests/basic.test
+++ b/tests/basic.test
@@ -15,7 +15,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: basic.test,v 1.26 2003/03/04 23:46:10 dgp Exp $
+# RCS: @(#) $Id: basic.test,v 1.27 2003/05/05 16:48:54 dkf Exp $
#
package require tcltest 2
@@ -132,7 +132,7 @@ test basic-12.1 {Tcl_HideCommand, names of hidden cmds can't have namespace qual
list [catch {test_interp hide test_ns_basic::p x} msg] $msg \
[catch {test_interp hide x test_ns_basic::p} msg1] $msg1 \
[interp delete test_interp]
-} {1 {can only hide global namespace commands (use rename then hide)} 1 {cannot use namespace qualifiers as hidden commandtoken (rename)} {}}
+} {1 {can only hide global namespace commands (use rename then hide)} 1 {cannot use namespace qualifiers in hidden command token (rename)} {}}
test basic-12.2 {Tcl_HideCommand, a hidden cmd remembers its containing namespace} {
catch {namespace delete test_ns_basic}
diff --git a/tests/interp.test b/tests/interp.test
index 43599b8..5ce02d6 100644
--- a/tests/interp.test
+++ b/tests/interp.test
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: interp.test,v 1.20 2003/03/12 17:52:36 dgp Exp $
+# RCS: @(#) $Id: interp.test,v 1.21 2003/05/05 16:48:54 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -1498,7 +1498,7 @@ test interp-20.45 {interp hide vs namespaces} {
set l [list [catch {interp hide a foo::x} msg] $msg]
interp delete a
set l
-} {1 {cannot use namespace qualifiers as hidden commandtoken (rename)}}
+} {1 {cannot use namespace qualifiers in hidden command token (rename)}}
test interp-20.46 {interp hide vs namespaces} {
catch {interp delete a}
interp create a
@@ -1519,7 +1519,7 @@ test interp-20.47 {interp hide vs namespaces} {
set l [list [catch {interp hide a x foo::x} msg] $msg]
interp delete a
set l
-} {1 {cannot use namespace qualifiers as hidden commandtoken (rename)}}
+} {1 {cannot use namespace qualifiers in hidden command token (rename)}}
test interp-20.48 {interp hide vs namespaces} {
catch {interp delete a}
interp create a
@@ -1530,7 +1530,7 @@ test interp-20.48 {interp hide vs namespaces} {
set l [list [catch {interp hide a foo::x bar::x} msg] $msg]
interp delete a
set l
-} {1 {cannot use namespace qualifiers as hidden commandtoken (rename)}}
+} {1 {cannot use namespace qualifiers in hidden command token (rename)}}
test interp-21.1 {interp hidden} {
interp hidden {}