diff options
Diffstat (limited to 'tests/font.test')
-rw-r--r-- | tests/font.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/font.test b/tests/font.test index dca3106..b4071d9 100644 --- a/tests/font.test +++ b/tests/font.test @@ -440,7 +440,7 @@ test font-10.4 {font command: metrics: arguments} -body { test font-10.5 {font command: metrics: arguments} -body { # (objc - skip) > 4) when skip == 2 font metrics xyz -displayof . abc -} -returnCodes error -result {bad metric "abc": must be -ascent, -descent, -linespace, or -fixed} +} -returnCodes error -result {bad metric "abc": must be -ascent, -descent, -fixed, or -linespace} test font-10.6 {font command: metrics: bad font} -constraints noExceed -body { # (tkfont == NULL) font metrics "\{xyz" @@ -457,7 +457,7 @@ test font-10.7 {font command: metrics: get all metrics} -setup { test font-10.8 {font command: metrics: bad metric} -body { # (Tcl_GetIndexFromObj() != TCL_OK) font metrics $fixed -xyz -} -returnCodes error -result {bad metric "-xyz": must be -ascent, -descent, -linespace, or -fixed} +} -returnCodes error -result {bad metric "-xyz": must be -ascent, -descent, -fixed, or -linespace} test font-10.9 {font command: metrics: get individual metrics} -body { font metrics $fixed -ascent font metrics $fixed -descent |