From b8aaeefe598d7cbcbfb19d8ffc906f107d946428 Mon Sep 17 00:00:00 2001 From: fvogel Date: Tue, 14 Nov 2017 07:05:58 +0000 Subject: Don't include the NULL from SAVE_TARGETS request in the expected result. The ICCCM specification doesn't tell what value the clipboard manager should return. --- tests/select.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/select.test b/tests/select.test index 0ec973e..a7cd780 100644 --- a/tests/select.test +++ b/tests/select.test @@ -1165,11 +1165,11 @@ test select-14.1 {Bug [73ba07efcd]: Use correct property type when handling MULT } -body { selection handle -selection CLIPBOARD . get_clip selection own -selection CLIPBOARD . - set res [selection get -selection CLIPBOARD_MANAGER -type SAVE_TARGETS] - lappend res [clipboard get] + selection get -selection CLIPBOARD_MANAGER -type SAVE_TARGETS + clipboard get } -cleanup { rename get_clip {} -} -result {NULL abcd} +} -result {abcd} # cleanup -- cgit v0.12