diff options
author | dgp <dgp@users.sourceforge.net> | 2005-11-09 20:24:09 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2005-11-09 20:24:09 (GMT) |
commit | e9bcf00dec52d57ab73da10e8b9834c92136ff7b (patch) | |
tree | d5727ae8c2bcd47aa739dcedfafa8f3f5c16e140 /tests/compile.test | |
parent | 133fb4a09f75b408471dd65c981eb8842ae92c76 (diff) | |
download | tcl-e9bcf00dec52d57ab73da10e8b9834c92136ff7b.zip tcl-e9bcf00dec52d57ab73da10e8b9834c92136ff7b.tar.gz tcl-e9bcf00dec52d57ab73da10e8b9834c92136ff7b.tar.bz2 |
* tests/compile.test: Updated tests with changed behavior
* tests/execute.test: due to addition of bignums.
* tests/expr-old.test:
* tests/expr.test:
* tests/parseExpr.test:
* tests/platform.test:
* tests/string.test:
Diffstat (limited to 'tests/compile.test')
-rw-r--r-- | tests/compile.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/compile.test b/tests/compile.test index 2ef57a6..b518c37 100644 --- a/tests/compile.test +++ b/tests/compile.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: compile.test,v 1.39 2005/10/21 20:44:17 dgp Exp $ +# RCS: @(#) $Id: compile.test,v 1.40 2005/11/09 20:24:10 dgp Exp $ package require tcltest 2 namespace import -force ::tcltest::* @@ -253,10 +253,10 @@ test compile-11.5 {Tcl_Append*: ensure Tcl_ResetResult is used properly} { proc p {} { set r [list foobar] ; incr foo } list [catch {p} msg] $msg } {1 {can't read "foo": no such variable}} -test compile-11.6 {Tcl_Append*: ensure Tcl_ResetResult is used properly} knownBug { +test compile-11.6 {Tcl_Append*: ensure Tcl_ResetResult is used properly} { proc p {} { set r [list foobar] ; incr foo bogus } list [catch {p} msg] $msg -} {1 {expected integer but got "bogus"}} +} {1 {can't read "foo": no such variable}} test compile-11.7 {Tcl_Append*: ensure Tcl_ResetResult is used properly} -body { proc p {} { set r [list foobar] ; expr !a } list [catch {p} msg] $msg |