summaryrefslogtreecommitdiffstats
path: root/tests/winFont.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2022-11-30 20:06:43 (GMT)
committerfvogel <fvogelnew1@free.fr>2022-11-30 20:06:43 (GMT)
commit7e719847d750a89c086185071fb294dc2973465b (patch)
tree4602a71a32b7738c795d9cde7398c4588d3ffa9c /tests/winFont.test
parent554d0aa0494b61453f72925c486910f879ab8d95 (diff)
downloadtk-7e719847d750a89c086185071fb294dc2973465b.zip
tk-7e719847d750a89c086185071fb294dc2973465b.tar.gz
tk-7e719847d750a89c086185071fb294dc2973465b.tar.bz2
Reduce differences in the test suite between 8.6 and 8.7 by backporting cosmetic differences from 8.7.
Diffstat (limited to 'tests/winFont.test')
-rw-r--r--tests/winFont.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/winFont.test b/tests/winFont.test
index 4a394cf..f5c945d 100644
--- a/tests/winFont.test
+++ b/tests/winFont.test
@@ -37,12 +37,12 @@ test winfont-2.1 {TkpGetFontFromAttributes procedure: pointsize} -constraints {
win
} -body {
expr {[font actual {-size -10} -size] > 0}
-} -result {1}
+} -result 1
test winfont-2.2 {TkpGetFontFromAttributes procedure: pointsize} -constraints {
win
} -body {
expr {[font actual {-family Arial} -size] > 0}
-} -result {1}
+} -result 1
test winfont-2.3 {TkpGetFontFromAttributes procedure: normal weight} -constraints {
win
} -body {
@@ -221,7 +221,7 @@ test winfont-5.5 {Tk_MeasureChars procedure: include last partial char} -constra
.t.c index $t @[expr {int($cx*2.5)}],1
} -cleanup {
destroy .t.c
-} -result {2}
+} -result 2
test winfont-5.6 {Tk_MeasureChars procedure: at least one char on line} -constraints {
win
@@ -337,7 +337,7 @@ test winfont-5.11 {Tk_MeasureChars procedure: check for kerning} -constraints {
expr {$x < ($width*10)}
} -cleanup {
destroy .t.l
-} -result {1}
+} -result 1
test winfont-6.1 {Tk_DrawChars procedure: loop test} -constraints win -setup {
@@ -375,12 +375,12 @@ test winfont-7.3 {AllocFont procedure: extract info from textmetric} -constraint
win
} -body {
font metric {arial 10 bold italic underline overstrike} -fixed
-} -result {0}
+} -result 0
test winfont-7.4 {AllocFont procedure: extract info from textmetric} -constraints {
win
} -body {
font metric systemfixed -fixed
-} -result {1}
+} -result 1
# cleanup
cleanupTests