diff options
-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 { |