diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2000-11-17 09:55:42 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2000-11-17 09:55:42 (GMT) |
commit | ca9a991ea487b51b3fdc3d98b2f033ebb68053f7 (patch) | |
tree | 4d4f29c12ba042263e075e408e1a889c2ee0e343 | |
parent | c3a45c0cdf91876b57a4f6b18dfacdafcf2e4577 (diff) | |
download | tcl-ca9a991ea487b51b3fdc3d98b2f033ebb68053f7.zip tcl-ca9a991ea487b51b3fdc3d98b2f033ebb68053f7.tar.gz tcl-ca9a991ea487b51b3fdc3d98b2f033ebb68053f7.tar.bz2 |
Added test for bug 119192 to test suite.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tests/var.test | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2000-11-17 Donal K. Fellows <fellowsd@cs.man.ac.uk> + + * tests/var.test: (test var-1.19) If my attempts to fix the + problem aren't right yet, my attempts to describe it look pretty + good to me... + 2000-11-16 Andreas Kupries <a.kupries@westend.com> * win/tclWinPort.h (line 69): Changed reference to winsock2.h into diff --git a/tests/var.test b/tests/var.test index fb378ae..faafd3b 100644 --- a/tests/var.test +++ b/tests/var.test @@ -14,7 +14,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: var.test,v 1.15 2000/04/10 17:19:06 ericm Exp $ +# RCS: @(#) $Id: var.test,v 1.16 2000/11/17 09:55:42 dkf Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -173,6 +173,9 @@ test var-1.18 {TclLookupVar, resurrect array element via upvar to deleted array: set result } } {0 2 1 {can't set "foo": upvar refers to element in deleted array}} +test var-1.19 {TclLookupVar, right error message when parsing variable name} { + list [catch {[format set] thisvar(doesntexist)} msg] $msg +} {1 {can't read "thisvar(doesntexist)": no such variable}} test var-2.1 {Tcl_LappendObjCmd, create var if new} { catch {unset x} |