diff options
author | mdejong <mdejong@noemail.net> | 2003-02-07 01:07:03 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2003-02-07 01:07:03 (GMT) |
commit | e7bee902c38b385cc8ac746e1515e670b07d76c6 (patch) | |
tree | a295942df4133d8cf37c67326647dcf49538bc1d /tests/incr.test | |
parent | dcf2a33bf8f5612d2e19a568040fb513e2a70b33 (diff) | |
download | tcl-e7bee902c38b385cc8ac746e1515e670b07d76c6.zip tcl-e7bee902c38b385cc8ac746e1515e670b07d76c6.tar.gz tcl-e7bee902c38b385cc8ac746e1515e670b07d76c6.tar.bz2 |
* generic/tclCompCmds.c (TclCompileIncrCmd):
* tests/incr.test: Don't include the text
"(increment expression)" in the errorInfo
generated by the compiled version of the
incr command since it does not match the
message generated by the non-compiled version
of incr. It is also not possible to match
this error output under Jacl, which does
not support a compiler.
FossilOrigin-Name: 8d271ffd1363aa9a33e1d4067d4a94e779eb3eba
Diffstat (limited to 'tests/incr.test')
-rw-r--r-- | tests/incr.test | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/incr.test b/tests/incr.test index 1aeea59..5f3a633 100644 --- a/tests/incr.test +++ b/tests/incr.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: incr.test,v 1.7 2003/02/06 22:44:58 mdejong Exp $ +# RCS: @(#) $Id: incr.test,v 1.8 2003/02/07 01:07:05 mdejong Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -181,7 +181,6 @@ test incr-1.19 {TclCompileIncrCmd: increment given, but erroneous} { } {wrong # args: should be "set varName ?newValue?" while compiling "set" - (increment expression) while compiling "incr i [set]"} test incr-1.20 {TclCompileIncrCmd: increment given, in quotes} { |