summaryrefslogtreecommitdiffstats
path: root/tests/select.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-11-14 07:05:58 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-11-14 07:05:58 (GMT)
commitb8aaeefe598d7cbcbfb19d8ffc906f107d946428 (patch)
tree0013077cc486f03a4bdba65131a03cbbe3d10586 /tests/select.test
parent7fc0019d7721aadaa766b802062ffefd0694e27b (diff)
downloadtk-b8aaeefe598d7cbcbfb19d8ffc906f107d946428.zip
tk-b8aaeefe598d7cbcbfb19d8ffc906f107d946428.tar.gz
tk-b8aaeefe598d7cbcbfb19d8ffc906f107d946428.tar.bz2
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.
Diffstat (limited to 'tests/select.test')
-rw-r--r--tests/select.test6
1 files 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