summaryrefslogtreecommitdiffstats
path: root/tests/font.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-17 14:55:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-07-17 14:55:35 (GMT)
commitd83dea17ecb2f74e3048b02992ce5e9c30573b12 (patch)
treea975c0e201e4ad8e51341d6bb989c90f67aee7d9 /tests/font.test
parent3147ddd47a51d3ff290bc0be54646e541624c7fa (diff)
parent3954d71d18d5d5aa61f21d4137726beb13a0047c (diff)
downloadtk-d83dea17ecb2f74e3048b02992ce5e9c30573b12.zip
tk-d83dea17ecb2f74e3048b02992ce5e9c30573b12.tar.gz
tk-d83dea17ecb2f74e3048b02992ce5e9c30573b12.tar.bz2
Merge trunk
Diffstat (limited to 'tests/font.test')
-rw-r--r--tests/font.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/font.test b/tests/font.test
index 5ff9750..64548ae 100644
--- a/tests/font.test
+++ b/tests/font.test
@@ -1681,14 +1681,14 @@ destroy .t.f
pack [label .t.f]
update
test font-27.1 {Tk_UnderlineTextLayout procedure: no underline chosen} -body {
- .t.f config -text "foo" -underline none
+ .t.f config -text "foo" -underline {}
} -result {}
test font-27.2 {Tk_UnderlineTextLayout procedure: underline not visible} -body {
.t.f config -text "000 00000" -wrap [expr $ax*7] -under 10
} -result {}
test font-27.3 {Tk_UnderlineTextLayout procedure: underline is visible} -body {
.t.f config -text "000 00000" -wrap [expr $ax*7] -under 5
- .t.f config -wrap -1 -underline none
+ .t.f config -wrap -1 -underline {}
} -result {}
destroy .t.f
@@ -1763,7 +1763,7 @@ destroy .t.f
pack [label .t.f]
update
test font-29.1 {Tk_CharBBox procedure: index < 0} -body {
- .t.f config -text "000" -underline none
+ .t.f config -text "000" -underline {}
} -result {}
test font-29.2 {Tk_CharBBox procedure: loop} -body {
.t.f config -text "000\t000\t000\t000" -underline 9