diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2003-05-05 16:52:31 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2003-05-05 16:52:31 (GMT) |
commit | 805d2851fd086d66ae78c4a69446463105d1cba9 (patch) | |
tree | a8253bd78207850ea03198ea95d8d0557dd8f582 /tests | |
parent | 8fb4b544191b41c53d33158bd500989d683eae03 (diff) | |
download | tcl-805d2851fd086d66ae78c4a69446463105d1cba9.zip tcl-805d2851fd086d66ae78c4a69446463105d1cba9.tar.gz tcl-805d2851fd086d66ae78c4a69446463105d1cba9.tar.bz2 |
Corrected error message for grammar and spelling.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic.test | 4 | ||||
-rw-r--r-- | tests/interp.test | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/basic.test b/tests/basic.test index c45a763..11b7bed 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.25 2003/02/16 01:36:32 msofer Exp $ +# RCS: @(#) $Id: basic.test,v 1.25.2.1 2003/05/05 16:52:33 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 eda883f..a9b9e65 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.19.2.1 2003/03/12 17:51:33 dgp Exp $ +# RCS: @(#) $Id: interp.test,v 1.19.2.2 2003/05/05 16:52:33 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 {} |