diff options
author | fvogel <fvogelnew1@free.fr> | 2015-12-12 16:01:18 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-12-12 16:01:18 (GMT) |
commit | 703edc8e5e80be0e7c37dbe1b3157ba854d258db (patch) | |
tree | 413e35497f15aad01cbe4d2c145dc2231c909d3c /tests/entry.test | |
parent | eb0c5a2b21fcefd1331e9ccf98b5f2bdc62f9395 (diff) | |
download | tk-703edc8e5e80be0e7c37dbe1b3157ba854d258db.zip tk-703edc8e5e80be0e7c37dbe1b3157ba854d258db.tar.gz tk-703edc8e5e80be0e7c37dbe1b3157ba854d258db.tar.bz2 |
Fixed bug [793909] - Problem with nonexistent namespaces
Diffstat (limited to 'tests/entry.test')
-rw-r--r-- | tests/entry.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/entry.test b/tests/entry.test index da8f280..da3637d 100644 --- a/tests/entry.test +++ b/tests/entry.test @@ -1641,6 +1641,12 @@ test entry-23.1 {error in trace proc attached to the textvariable} { } [list {can't set "myvar": Intentional error here!} \ {can't set "myvar": Intentional error here!}] +test entry-24.1 {textvariable lives in a non-existing namespace} { + destroy .e + catch {entry .e -textvariable thisnsdoesntexist::myvar} result1 + set result1 +} {can't trace "thisnsdoesntexist::myvar": parent namespace doesn't exist} + destroy .e # XXX Still need to write tests for EntryBlinkProc, EntryFocusProc, |