summaryrefslogtreecommitdiffstats
path: root/tests/error.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/error.test')
-rw-r--r--tests/error.test10
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