summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-05-13 19:24:21 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-05-13 19:24:21 (GMT)
commit6e83ca36260a6fc8e0405a901b64fc165a95bd74 (patch)
treeb4d920d0458df43aab82099b9c60fe8ff01e28b5 /tests
parent5087fdaa7d95cbb0604ea7df6a84b2f8cce91640 (diff)
parentc9c922c7cf9193285e2e0375a6759758b1f995b0 (diff)
downloadtk-6e83ca36260a6fc8e0405a901b64fc165a95bd74.zip
tk-6e83ca36260a6fc8e0405a901b64fc165a95bd74.tar.gz
tk-6e83ca36260a6fc8e0405a901b64fc165a95bd74.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 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 {