diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-09 15:36:21 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-09 15:36:21 (GMT) |
commit | 00b8a9b7dca2e057f57acf088bb0792edc77769a (patch) | |
tree | 5848f45febe315b27140b5a80e3ea3cf164db06a /tests | |
parent | 931890373392ee479b548c0c334b508b41e27aa9 (diff) | |
parent | c0cbf2de196d27643e7267a53c37d4bf4810ffef (diff) | |
download | tk-00b8a9b7dca2e057f57acf088bb0792edc77769a.zip tk-00b8a9b7dca2e057f57acf088bb0792edc77769a.tar.gz tk-00b8a9b7dca2e057f57acf088bb0792edc77769a.tar.bz2 |
Update documentation, and final tweaks for TIP #581
Diffstat (limited to 'tests')
-rw-r--r-- | tests/grid.test | 2 | ||||
-rw-r--r-- | tests/oldpack.test | 4 | ||||
-rw-r--r-- | tests/pack.test | 2 | ||||
-rw-r--r-- | tests/place.test | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/tests/grid.test b/tests/grid.test index 916014d..7f66e0d 100644 --- a/tests/grid.test +++ b/tests/grid.test @@ -45,7 +45,7 @@ test grid-1.1 {basic argument checking} -body { } -returnCodes error -result {wrong # args: should be "grid option arg ?arg ...?"} test grid-1.2 {basic argument checking} -body { grid foo bar -} -returnCodes error -result {bad option "foo": must be anchor, bbox, columnconfigure, configure, content, forget, info, location, propagate, remove, rowconfigure, size, or slaves} +} -returnCodes error -match glob -result {bad option "foo": must be anchor, bbox, columnconfigure, configure, content, forget, info, location, propagate, remove, rowconfigure, *size*} test grid-1.3 {basic argument checking} -body { button .b grid .b -row 0 -column diff --git a/tests/oldpack.test b/tests/oldpack.test index 9b67628..46b3111 100644 --- a/tests/oldpack.test +++ b/tests/oldpack.test @@ -452,10 +452,10 @@ test oldpack-8.2 {syntax errors} -body { } -returnCodes error -result {wrong # args: should be "pack option arg ?arg ...?"} test oldpack-8.3 {syntax errors} -body { pack gorp foo -} -returnCodes error -result {bad option "gorp": must be configure, content, forget, info, propagate, or slaves} +} -returnCodes error -match glob -result {bad option "gorp": must be configure, content, forget, info, *propagate*} test oldpack-8.4 {syntax errors} -body { pack a .pack -} -returnCodes error -result {bad option "a": must be configure, content, forget, info, propagate, or slaves} +} -returnCodes error -match glob -result {bad option "a": must be configure, content, forget, info, *propagate*} test oldpack-8.5 {syntax errors} -body { pack after foobar } -returnCodes error -result {bad window path name "foobar"} diff --git a/tests/pack.test b/tests/pack.test index 2221b05..5c919ed 100644 --- a/tests/pack.test +++ b/tests/pack.test @@ -1360,7 +1360,7 @@ test pack-12.46 {command options and errors} -setup { pack forget .pack.a .pack.b .pack.c .pack.d } -body { pack lousy .pack -} -returnCodes error -result {bad option "lousy": must be configure, content, forget, info, propagate, or slaves} +} -returnCodes error -match glob -result {bad option "lousy": must be configure, content, forget, info, *propagate*} test pack-13.1 {window deletion} -setup { pack forget .pack.a .pack.b .pack.c .pack.d .pack.right .pack.bottom diff --git a/tests/place.test b/tests/place.test index 0a59d13..e811b1a 100644 --- a/tests/place.test +++ b/tests/place.test @@ -329,7 +329,7 @@ test place-9.5 {PlaceObjCmd} -setup { place badopt .foo } -cleanup { destroy .foo -} -returnCodes error -result {bad option "badopt": must be configure, content, forget, info, or slaves} +} -returnCodes error -match glob -result {bad option "badopt": must be configure, content, forget, *info*} test place-9.6 {PlaceObjCmd, configure errors} -setup { destroy .foo } -body { |