summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2017-11-14 07:05:58 (GMT)
committerfvogel <fvogel@noemail.net>2017-11-14 07:05:58 (GMT)
commitaf7477ae50606328644b31c3193cb1d8c4d06377 (patch)
tree0013077cc486f03a4bdba65131a03cbbe3d10586
parent67e2bfd776e313abcfb48a53f2e9f6011e5f7214 (diff)
downloadtk-af7477ae50606328644b31c3193cb1d8c4d06377.zip
tk-af7477ae50606328644b31c3193cb1d8c4d06377.tar.gz
tk-af7477ae50606328644b31c3193cb1d8c4d06377.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 shold return.
FossilOrigin-Name: 9d1db47deb5016e73564e5256105ec0e3dbebb7481893d74c9b9639f6a763484
-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