summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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