summaryrefslogtreecommitdiffstats
path: root/tests/spinbox.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-12-12 16:01:18 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-12-12 16:01:18 (GMT)
commit206fdec2adc973a08951dafa6b30a911e82918d5 (patch)
tree413e35497f15aad01cbe4d2c145dc2231c909d3c /tests/spinbox.test
parent7310553ebcfd9493614bbc345b30b0a747bef92d (diff)
downloadtk-206fdec2adc973a08951dafa6b30a911e82918d5.zip
tk-206fdec2adc973a08951dafa6b30a911e82918d5.tar.gz
tk-206fdec2adc973a08951dafa6b30a911e82918d5.tar.bz2
Fixed bug [793909] - Problem with nonexistent namespacesbug_793909fff
Diffstat (limited to 'tests/spinbox.test')
-rw-r--r--tests/spinbox.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/spinbox.test b/tests/spinbox.test
index 5fba390..68c6fae 100644
--- a/tests/spinbox.test
+++ b/tests/spinbox.test
@@ -1599,6 +1599,12 @@ test spinbox-24.1 {error in trace proc attached to the textvariable} {
{can't set "myvar": Intentional error here!} \
{can't set "myvar": Intentional error here!}]
+test spinbox-25.1 {textvariable lives in a non-existing namespace} {
+ destroy .s
+ catch {spinbox .s -textvariable thisnsdoesntexist::myvar} result1
+ set result1
+} {can't trace "thisnsdoesntexist::myvar": parent namespace doesn't exist}
+
catch {unset ::e ::vVals}
##