summaryrefslogtreecommitdiffstats
path: root/tests/parseExpr.test
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-04 06:16:48 (GMT)
committerhobbs <hobbs>1999-12-04 06:16:48 (GMT)
commit8bd88ae75ebf3df12baf9472747baf999a089c8c (patch)
treede4d563d31e6b705edb459823af308d53d953c2b /tests/parseExpr.test
parent0cbb9c47d7cd5a71ca1189ab216bf3ded3800278 (diff)
downloadtcl-8bd88ae75ebf3df12baf9472747baf999a089c8c.zip
tcl-8bd88ae75ebf3df12baf9472747baf999a089c8c.tar.gz
tcl-8bd88ae75ebf3df12baf9472747baf999a089c8c.tar.bz2
* tests/env.test: removed knownBug limitation from working test
* tests/all.tcl: ensured that ::tcltest::testsDirectory would be set to an absolute path * tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling.
Diffstat (limited to 'tests/parseExpr.test')
-rw-r--r--tests/parseExpr.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parseExpr.test b/tests/parseExpr.test
index 199f9e5..8ed4046 100644
--- a/tests/parseExpr.test
+++ b/tests/parseExpr.test
@@ -8,7 +8,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: parseExpr.test,v 1.3 1999/06/26 03:54:19 jenn Exp $
+# RCS: @(#) $Id: parseExpr.test,v 1.4 1999/12/04 06:16:49 hobbs Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -497,7 +497,7 @@ test parseExpr-14.5 {GetLexeme procedure, integer lexeme too big} {nonPortable}
} {1 {integer value too large to represent}}
test parseExpr-14.6 {GetLexeme procedure, bad integer lexeme} {
list [catch {testexprparser {0999} -1} msg] $msg
-} {1 {syntax error in expression "0999"}}
+} {1 {"0999" is an invalid octal number}}
test parseExpr-14.7 {GetLexeme procedure, double lexeme} {
testexprparser {0.999} -1
} {- {} 0 subexpr 0.999 1 text 0.999 0 {}}