diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-30 10:07:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-30 10:07:46 (GMT) |
commit | 023e88a897f369e630a198082e71cbb1823c9a63 (patch) | |
tree | 8eebb895d60f55eaed23ea1bfb570065467d077d /tests/util.test | |
parent | 02adf45068f997e84707a3479e629b74b5409671 (diff) | |
download | tk-023e88a897f369e630a198082e71cbb1823c9a63.zip tk-023e88a897f369e630a198082e71cbb1823c9a63.tar.gz tk-023e88a897f369e630a198082e71cbb1823c9a63.tar.bz2 |
Sort all usage of "pages", "pixels" and "units", make it alphabetical, in implementation, tests and documentation.
Diffstat (limited to 'tests/util.test')
-rw-r--r-- | tests/util.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/util.test b/tests/util.test index c1ec6a5..d457b50 100644 --- a/tests/util.test +++ b/tests/util.test @@ -28,10 +28,10 @@ test util-1.3 {Tk_GetScrollInfo procedure} -body { } -result {0.5 0.75} test util-1.4 {Tk_GetScrollInfo procedure} -body { .l yview scroll a -} -returnCodes error -result {wrong # args: should be ".l yview scroll number units|pages"} +} -returnCodes error -result {wrong # args: should be ".l yview scroll number pages|units"} test util-1.5 {Tk_GetScrollInfo procedure} -body { .l yview scroll a b c -} -returnCodes error -result {wrong # args: should be ".l yview scroll number units|pages"} +} -returnCodes error -result {wrong # args: should be ".l yview scroll number pages|units"} test util-1.6 {Tk_GetScrollInfo procedure} -body { .l yview scroll xyz units } -returnCodes error -result {expected integer but got "xyz"} @@ -57,7 +57,7 @@ test util-1.10 {Tk_GetScrollInfo procedure} -body { } -result {13} test util-1.11 {Tk_GetScrollInfo procedure} -body { .l yview scroll 3 zips -} -returnCodes error -result {bad argument "zips": must be units or pages} +} -returnCodes error -result {bad argument "zips": must be pages or units} test util-1.12 {Tk_GetScrollInfo procedure} -body { .l yview dropdead 3 times } -returnCodes error -result {unknown option "dropdead": must be moveto or scroll} |