diff options
author | fvogel <fvogelnew1@free.fr> | 2017-01-06 14:14:21 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-01-06 14:14:21 (GMT) |
commit | e1b0d76f7309fb154dad377848ba1ef18bc0396c (patch) | |
tree | a3b0d0e04cbe96379e18335ce59a0a7b9569f678 /tests/text.test | |
parent | b43ab912f143dc30909be7f75483a9fd9c78237c (diff) | |
download | tk-e1b0d76f7309fb154dad377848ba1ef18bc0396c.zip tk-e1b0d76f7309fb154dad377848ba1ef18bc0396c.tar.gz tk-e1b0d76f7309fb154dad377848ba1ef18bc0396c.tar.bz2 |
Better fix for [c12af74765]: OS X - text-21.1 fails
Diffstat (limited to 'tests/text.test')
-rw-r--r-- | tests/text.test | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/tests/text.test b/tests/text.test index 9d9b836..6812855 100644 --- a/tests/text.test +++ b/tests/text.test @@ -3925,7 +3925,7 @@ test text-20.5 {TextFetchSelection procedure, long selections} -setup { } -result {1} -test text-21.1 {TkTextLostSelection procedure} -constraints {unix notAqua} -setup { +test text-21.1 {TkTextLostSelection procedure} -constraints {x11} -setup { text .t .t insert 1.0 "Line 1" entry .t.e @@ -3940,22 +3940,7 @@ test text-21.1 {TkTextLostSelection procedure} -constraints {unix notAqua} -setu } -cleanup { destroy .t .t2 } -result {} -test text-21.1a {TkTextLostSelection procedure} -constraints {unix aqua} -setup { - text .t - .t insert 1.0 "Line 1" - entry .t.e - .t.e insert end "abcdefg" - text .t2 - .t2 insert 1.0 "abc\ndef\nghijk\n1234" -} -body { - .t2 tag add sel 1.2 3.3 - .t.e select from 0 - .t.e select to 1 - .t2 tag ranges sel -} -cleanup { - destroy .t .t2 -} -result {1.2 3.3} -test text-21.2 {TkTextLostSelection procedure} -constraints win -setup { +test text-21.2 {TkTextLostSelection procedure} -constraints aquaOrWin32 -setup { text .t .t insert 1.0 "Line 1" entry .t.e |