summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2012-07-30 09:08:25 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2012-07-30 09:08:25 (GMT)
commit6bf54807590332f4ea52ede7a404f0a4cc70a9ec (patch)
tree031f1c2df728052af4573ff7ea91cadf69634adf /tests
parent681f4133bc1ab9f99b6fb13d09774aaea60dfca6 (diff)
downloadtk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.zip
tk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.tar.gz
tk-6bf54807590332f4ea52ede7a404f0a4cc70a9ec.tar.bz2
more auditing of error codes
Diffstat (limited to 'tests')
-rw-r--r--tests/grid.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/grid.test b/tests/grid.test
index 6b2dfe3..c1d9d06 100644
--- a/tests/grid.test
+++ b/tests/grid.test
@@ -662,7 +662,7 @@ test grid-10.19 {column/row configure} -body {
grid columnconfigure . {0 -1 2} -weight 1
} -cleanup {
grid_reset 10.19
-} -returnCodes error -result {grid columnconfigure: "-1" is out of range}
+} -returnCodes error -result {"-1" is out of range}
test grid-10.20 {column/row configure} -body {
grid columnconfigure . 0 -uniform foo
grid columnconfigure . 0 -uniform
@@ -673,13 +673,13 @@ test grid-10.21 {column/row configure} -body {
grid columnconfigure . .b -weight 1
} -cleanup {
grid_reset 10.21
-} -returnCodes error -result {grid columnconfigure: illegal index ".b"}
+} -returnCodes error -result {illegal index ".b"}
test grid-10.22 {column/row configure} -body {
button .b
grid columnconfigure . .b -weight 1
} -cleanup {
grid_reset 10.22
-} -returnCodes error -result {grid columnconfigure: the window ".b" is not managed by "."}
+} -returnCodes error -result {the window ".b" is not managed by "."}
test grid-10.23 {column/row configure} -body {
button .b
grid .b -column 1 -columnspan 2
@@ -747,10 +747,10 @@ test grid-10.28 {column/row configure - no indices} -body {
} -returnCodes error -result {no row indices specified}
test grid-10.29 {column/row configure - invalid indices} -body {
grid columnconfigure . {0 1 2} -weight
-} -returnCodes error -result {grid columnconfigure: must specify a single element on retrieval}
+} -returnCodes error -result {must specify a single element on retrieval}
test grid-10.30 {column/row configure - invalid indices} -body {
grid rowconfigure . {0 1 2} -weight
-} -returnCodes error -result {grid rowconfigure: must specify a single element on retrieval}
+} -returnCodes error -result {must specify a single element on retrieval}
test grid-10.31 {column/row configure - empty 'all' configure} -body {
# Bug 1422430
set t [toplevel .test]