From 49572f2f72c35481f39c3fd89be56106a98d814a Mon Sep 17 00:00:00 2001 From: fvogel Date: Sun, 8 Jul 2018 20:08:01 +0000 Subject: Remove superfluous code in clipboard-4.3 and clipboard-4.5 tests --- tests/clipboard.test | 6 ++---- 1 file 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} -- cgit v0.12