summaryrefslogtreecommitdiffstats
path: root/tests/select.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-11-13 20:39:51 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-11-13 20:39:51 (GMT)
commit7fc0019d7721aadaa766b802062ffefd0694e27b (patch)
tree3c473df6f3ee56a83d80ae314f64d2d4ff3beea4 /tests/select.test
parentaf619ddfd8061e08a042bd5886745731587ce373 (diff)
downloadtk-7fc0019d7721aadaa766b802062ffefd0694e27b.zip
tk-7fc0019d7721aadaa766b802062ffefd0694e27b.tar.gz
tk-7fc0019d7721aadaa766b802062ffefd0694e27b.tar.bz2
Use -cleanup with test select-10.6
Diffstat (limited to 'tests/select.test')
-rw-r--r--tests/select.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/select.test b/tests/select.test
index 093c4c0..0ec973e 100644
--- a/tests/select.test
+++ b/tests/select.test
@@ -1051,6 +1051,8 @@ test select-10.6 {ConvertSelection procedure, reentrancy issues} -constraints {
lappend result [dobg {selection get}]
cleanupbg
lappend result $selInfo
+} -cleanup {
+ rename weirdHandler {}
} -result {{PRIMARY selection doesn't exist or form "STRING" not defined} {STRING 0 4000}}
##############################################################################
@@ -1169,7 +1171,6 @@ test select-14.1 {Bug [73ba07efcd]: Use correct property type when handling MULT
rename get_clip {}
} -result {NULL abcd}
-catch {rename weirdHandler {}}
# cleanup
cleanupTests