diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-23 20:46:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-01-23 20:46:58 (GMT) |
commit | 03582e574085bb1a722ddb42239db6116db7c66a (patch) | |
tree | b2acac1728a6dceb22148fb10c31e9f54749bad0 /tests/entry.test | |
parent | d1e742a7b7a9b4754993a7f19e61ecc674d14fa2 (diff) | |
download | tk-03582e574085bb1a722ddb42239db6116db7c66a.zip tk-03582e574085bb1a722ddb42239db6116db7c66a.tar.gz tk-03582e574085bb1a722ddb42239db6116db7c66a.tar.bz2 |
Revise "bad screen distance" error-messages
Diffstat (limited to 'tests/entry.test')
-rw-r--r-- | tests/entry.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/entry.test b/tests/entry.test index 6c69e37..1454104 100644 --- a/tests/entry.test +++ b/tests/entry.test @@ -79,7 +79,7 @@ test entry-1.4 {configuration option: "bd" for entry} -setup { .e configure -bd badValue } -cleanup { destroy .e -} -returnCodes {error} -result {bad screen distance "badValue"} +} -returnCodes {error} -result {expected screen distance but got "badValue"} test entry-1.5 {configuration option: "bg" for entry} -setup { entry .e -borderwidth 2 -highlightthickness 2 -font {Helvetica -12 bold} @@ -119,7 +119,7 @@ test entry-1.8 {configuration option: "borderwidth" for entry} -setup { .e configure -borderwidth badValue } -cleanup { destroy .e -} -returnCodes {error} -result {bad screen distance "badValue"} +} -returnCodes {error} -result {expected screen distance but got "badValue"} test entry-1.9 {configuration option: "cursor" for entry} -setup { entry .e -borderwidth 2 -highlightthickness 2 -font {Helvetica -12 bold} @@ -329,7 +329,7 @@ test entry-1.29 {configuration option: "highlightthickness" for entry} -setup { .e configure -highlightthickness badValue } -cleanup { destroy .e -} -returnCodes {error} -result {bad screen distance "badValue"} +} -returnCodes {error} -result {expected screen distance but got "badValue"} test entry-1.30 {configuration option: "insertbackground" for entry} -setup { entry .e -borderwidth 2 -highlightthickness 2 -font {Helvetica -12 bold} @@ -369,7 +369,7 @@ test entry-1.33 {configuration option: "insertborderwidth" for entry} -setup { .e configure -insertborderwidth 2.6x } -cleanup { destroy .e -} -returnCodes {error} -result {bad screen distance "2.6x"} +} -returnCodes {error} -result {expected screen distance but got "2.6x"} test entry-1.34 {configuration option: "insertofftime" for entry} -setup { entry .e -borderwidth 2 -highlightthickness 2 -font {Helvetica -12 bold} @@ -522,7 +522,7 @@ test entry-1.48 {configuration option: "selectborderwidth" for entry} -setup { .e configure -selectborderwidth badValue } -cleanup { destroy .e -} -returnCodes {error} -result {bad screen distance "badValue"} +} -returnCodes {error} -result {expected screen distance but got "badValue"} test entry-1.49 {configuration option: "selectforeground" for entry} -setup { entry .e -borderwidth 2 -highlightthickness 2 -font {Helvetica -12 bold} |