summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-26 21:22:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-26 21:22:11 (GMT)
commitea371117d2abdc1fec0daf49dd2f8709c0fd857a (patch)
treee0c867d95a3c4493bca2d55e4c1c6f67daa9f54f
parentbb5b2d66a7a1851f35c1fd18de186ebeafd18738 (diff)
downloadtk-ea371117d2abdc1fec0daf49dd2f8709c0fd857a.zip
tk-ea371117d2abdc1fec0daf49dd2f8709c0fd857a.tar.gz
tk-ea371117d2abdc1fec0daf49dd2f8709c0fd857a.tar.bz2
Make test-case option-15.1 independant on test-case casing (as everywhere else)
-rw-r--r--tests/option.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/option.test b/tests/option.test
index 2292996..8bc7f21 100644
--- a/tests/option.test
+++ b/tests/option.test
@@ -361,8 +361,8 @@ test option-14.12 {error conditions} -body {
set option1 [file join [testsDirectory] option.file1]
test option-15.1 {database files} -body {
- option read non-existent
-} -returnCodes error -result {couldn't open "non-existent": no such file or directory}
+ list [catch {option read non-existent} msg] [string tolower $msg]
+} -result {1 {couldn't open "non-existent": no such file or directory}}
test option-15.2 {database files} -body {
option read $option1
option get . x1 color