diff options
author | hobbs <hobbs@noemail.net> | 2001-05-17 02:18:52 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2001-05-17 02:18:52 (GMT) |
commit | 049d2764a6a14551dd121bb544e20b55dc67bec0 (patch) | |
tree | 7029966159f2ea5c7c4bc3812d638b8dba34c355 /tests/error.test | |
parent | 16fbfe648267560ec8433257b17dd08f5d7ded49 (diff) | |
download | tcl-049d2764a6a14551dd121bb544e20b55dc67bec0.zip tcl-049d2764a6a14551dd121bb544e20b55dc67bec0.tar.gz tcl-049d2764a6a14551dd121bb544e20b55dc67bec0.tar.bz2 |
* tests/error.test: updated error-1.3 message to account for
string index being compiled at toplevel.
FossilOrigin-Name: 74b8d3cf441845b22b2f9507a43cff7718d90999
Diffstat (limited to 'tests/error.test')
-rw-r--r-- | tests/error.test | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/error.test b/tests/error.test index e054463..1558341 100644 --- a/tests/error.test +++ b/tests/error.test @@ -11,7 +11,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: error.test,v 1.7 2000/04/10 17:18:58 ericm Exp $ +# RCS: @(#) $Id: error.test,v 1.8 2001/05/17 02:18:53 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -44,9 +44,13 @@ test error-1.2 {simple errors from commands} { test error-1.3 {simple errors from commands} { catch {format [string index]} b set errorInfo + # this used to return '... while executing ...', but + # string index is fully compiled as of 8.4a3 } {wrong # args: should be "string index string charIndex" - while executing -"string index"} + while compiling +"string index" + while compiling +"format [string index]"} test error-1.4 {simple errors from commands} { catch {error glorp} b |