summaryrefslogtreecommitdiffstats
path: root/tests/textTag.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-16 13:31:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-16 13:31:44 (GMT)
commit366274267444686d4349c1e8acfd1d86f5574d09 (patch)
tree6b8efc37c1d2b325058838397156b505c8fd2554 /tests/textTag.test
parent5385927e72f73a73d5f8a5e4eb0f033c18d2ad6c (diff)
downloadtk-366274267444686d4349c1e8acfd1d86f5574d09.zip
tk-366274267444686d4349c1e8acfd1d86f5574d09.tar.gz
tk-366274267444686d4349c1e8acfd1d86f5574d09.tar.bz2
(cherry-pick): Require Tcltest 2.2 as a miminum. Run X11 testcases on Travis in 3 Ubuntu variants: Xenial, Bionic and Focal. (MacOS/XQuartz not working yet)
Diffstat (limited to 'tests/textTag.test')
-rw-r--r--tests/textTag.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/textTag.test b/tests/textTag.test
index be31ebb..aed0491 100644
--- a/tests/textTag.test
+++ b/tests/textTag.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
-package require tcltest 2.1
+package require tcltest 2.2
eval tcltest::configure $argv
tcltest::loadTestedCommands
namespace import -force tcltest::test
@@ -21,7 +21,7 @@ update
.t debug on
wm geometry . {}
set bigFont {Helvetica 24}
-
+
# The statements below reset the main window; it's needed if the window
# manager is mwm, to make mwm forget about a previous minimum size setting.
@@ -798,7 +798,7 @@ test textTag-18.1 {TkTextPickCurrent tag bindings} {
text .t -width 30 -height 4 -relief sunken -borderwidth 10 \
-highlightthickness 10 -pady 2
pack .t
-
+
.t insert end " Tag here " TAG " no tag here"
.t tag configure TAG -borderwidth 4 -relief raised
.t tag bind TAG <Enter> {lappend res "%x %y tag-Enter"}