summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-05-13 19:24:06 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-05-13 19:24:06 (GMT)
commitc9c922c7cf9193285e2e0375a6759758b1f995b0 (patch)
treec4b389de8ad3bf8cbf6042974d27901d4419c027 /tests
parent271cd56eb5cb8de37e5ee3664310cdd00312e803 (diff)
parent030c9b8c94689a3d9d28547e7fe7eaec874b764a (diff)
downloadtk-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.test4
-rw-r--r--tests/config.test4
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 {