summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-07-08 20:08:01 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-07-08 20:08:01 (GMT)
commit49572f2f72c35481f39c3fd89be56106a98d814a (patch)
tree17a73cd3faca850fa99f85f699209fc8f841642d
parentf7bc6dc9cada4c6f60ac8698be91c0f91cb6b3d2 (diff)
downloadtk-49572f2f72c35481f39c3fd89be56106a98d814a.zip
tk-49572f2f72c35481f39c3fd89be56106a98d814a.tar.gz
tk-49572f2f72c35481f39c3fd89be56106a98d814a.tar.bz2
Remove superfluous code in clipboard-4.3 and clipboard-4.5 tests
-rw-r--r--tests/clipboard.test6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/clipboard.test b/tests/clipboard.test
index 6077940..b87b3e5 100644
--- a/tests/clipboard.test
+++ b/tests/clipboard.test
@@ -161,8 +161,7 @@ test clipboard-4.3 {ClipboardLostSel procedure} -setup {
clipboard append "Test"
clipboard append -t TEST "Test2"
selection clear -s CLIPBOARD
- catch {clipboard get}
- clipboard get -t TEST
+ clipboard get -t TEST
} -cleanup {
clipboard clear
} -returnCodes error -result {CLIPBOARD selection doesn't exist or form "TEST" not defined}
@@ -184,8 +183,7 @@ test clipboard-4.5 {ClipboardLostSel procedure} -setup {
clipboard append -t TEST "Test2"
clipboard append "Test3"
selection clear -s CLIPBOARD
- catch {clipboard get}
- clipboard get -t TEST
+ clipboard get -t TEST
} -cleanup {
clipboard clear
} -returnCodes error -result {CLIPBOARD selection doesn't exist or form "TEST" not defined}