diff options
author | fvogel <fvogelnew1@free.fr> | 2018-05-13 19:24:21 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-05-13 19:24:21 (GMT) |
commit | 6e83ca36260a6fc8e0405a901b64fc165a95bd74 (patch) | |
tree | b4d920d0458df43aab82099b9c60fe8ff01e28b5 | |
parent | 5087fdaa7d95cbb0604ea7df6a84b2f8cce91640 (diff) | |
parent | c9c922c7cf9193285e2e0375a6759758b1f995b0 (diff) | |
download | tk-6e83ca36260a6fc8e0405a901b64fc165a95bd74.zip tk-6e83ca36260a6fc8e0405a901b64fc165a95bd74.tar.gz tk-6e83ca36260a6fc8e0405a901b64fc165a95bd74.tar.bz2 |
Fix [38e83e6ec9]: canvasText-1.11 fails on macOS (ditto for config-4.57)
-rw-r--r-- | tests/canvText.test | 4 | ||||
-rw-r--r-- | tests/config.test | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/canvText.test b/tests/canvText.test index ff5e4b9..c04cb63 100644 --- a/tests/canvText.test +++ b/tests/canvText.test @@ -55,8 +55,8 @@ test canvText-1.10 {configuration options: good value for "stipple"} -body { list [lindex [.c itemconfigure test -stipple] 4] [.c itemcget test -stipple] } -result {gray50 gray50} test canvasText-1.11 {configuration options: bad value for "stipple"} -body { - .c itemconfigure test -stipple xyz -} -returnCodes error -result {bitmap "xyz" not defined} + .c itemconfigure test -stipple abcxyz +} -returnCodes error -result {bitmap "abcxyz" not defined} test canvText-1.12 {configuration options: good value for "underline"} -body { .c itemconfigure test -underline 0 list [lindex [.c itemconfigure test -underline] 4] [.c itemcget test -underline] diff --git a/tests/config.test b/tests/config.test index 8c23595..9fd048a 100644 --- a/tests/config.test +++ b/tests/config.test @@ -679,10 +679,10 @@ test config-4.56 {DoObjConfig - new bitmap} -constraints testobjconfig -body { test config-4.57 {DoObjConfig - invalid bitmap} -constraints { testobjconfig } -body { - testobjconfig alltypes .foo -bitmap foo + testobjconfig alltypes .foo -bitmap foobar } -cleanup { killTables -} -returnCodes error -result {bitmap "foo" not defined} +} -returnCodes error -result {bitmap "foobar" not defined} test config-4.58 {DoObjConfig - null bitmap} -constraints testobjconfig -body { testobjconfig alltypes .foo -bitmap {} } -cleanup { |