summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/text.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/text.test b/tests/text.test
index 57d9e4e..07192e8 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -7366,6 +7366,7 @@ test text-37.1 "bug #dd9667635d: text anchor not set" -setup {
interp bgerror {} returnerror-37.1
proc returnerror-37.1 {m opts} {set ::my_error $m}
destroy .t
+ set ::my_error {}
pack [text .t]
} -body {
.t insert end "Hello world!"