diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2001-12-06 10:59:17 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2001-12-06 10:59:17 (GMT) |
commit | 6425a01b7a2896172c65f9883f0b56792a6fd263 (patch) | |
tree | e6c39593e08b79465eac7aa0dd4828dc16e96440 /tests/for.test | |
parent | 5c1a1598d524e7cdba42a48aef9949ffd3802fd6 (diff) | |
download | tcl-6425a01b7a2896172c65f9883f0b56792a6fd263.zip tcl-6425a01b7a2896172c65f9883f0b56792a6fd263.tar.gz tcl-6425a01b7a2896172c65f9883f0b56792a6fd263.tar.bz2 |
More expr syntax error improvements
Diffstat (limited to 'tests/for.test')
-rw-r--r-- | tests/for.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/for.test b/tests/for.test index 95ba8d0..4fbeef7 100644 --- a/tests/for.test +++ b/tests/for.test @@ -9,7 +9,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: for.test,v 1.8 2001/12/04 15:36:29 dkf Exp $ +# RCS: @(#) $Id: for.test,v 1.9 2001/12/06 10:59:18 dkf Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -668,7 +668,7 @@ test for-6.6 {Tcl_ForObjCmd: error in initial command} { test for-6.7 {Tcl_ForObjCmd: error in test expression} { set z for list [catch {$z {set i 0} {i < 5} {incr i} {body}} msg] $msg $errorInfo -} {1 {syntax error in expression "i < 5": expected a parenthesis enclosing function arguments} {syntax error in expression "i < 5": expected a parenthesis enclosing function arguments +} {1 {syntax error in expression "i < 5": variable references require preceding $} {syntax error in expression "i < 5": variable references require preceding $ while executing "$z {set i 0} {i < 5} {incr i} {body}"}} test for-6.8 {Tcl_ForObjCmd: test expression is enclosed in quotes} { |