diff options
author | fvogel <fvogelnew1@free.fr> | 2018-05-13 19:24:06 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-05-13 19:24:06 (GMT) |
commit | c9c922c7cf9193285e2e0375a6759758b1f995b0 (patch) | |
tree | c4b389de8ad3bf8cbf6042974d27901d4419c027 /tests | |
parent | 271cd56eb5cb8de37e5ee3664310cdd00312e803 (diff) | |
parent | 030c9b8c94689a3d9d28547e7fe7eaec874b764a (diff) | |
download | tk-c9c922c7cf9193285e2e0375a6759758b1f995b0.zip tk-c9c922c7cf9193285e2e0375a6759758b1f995b0.tar.gz tk-c9c922c7cf9193285e2e0375a6759758b1f995b0.tar.bz2 |
Fix [38e83e6ec9]: canvasText-1.11 fails on macOS (ditto for config-4.57)
Diffstat (limited to 'tests')
-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 a0c1921..833e288 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 { |