summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-30 23:10:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-30 23:10:03 (GMT)
commitc1ebd8dbebdf9d46522d17aceecbf1f3684101dc (patch)
tree498b0ee82e8e3e2bfb94aa95426bce00351a1bf5
parent1c562792a5e80ef3362c78bba77a17b0809983c8 (diff)
downloadtk-c1ebd8dbebdf9d46522d17aceecbf1f3684101dc.zip
tk-c1ebd8dbebdf9d46522d17aceecbf1f3684101dc.tar.gz
tk-c1ebd8dbebdf9d46522d17aceecbf1f3684101dc.tar.bz2
Adapt (improved) error-message, due to previous commit
-rw-r--r--tests/imgBmap.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/imgBmap.test b/tests/imgBmap.test
index 56484a6..bb54012 100644
--- a/tests/imgBmap.test
+++ b/tests/imgBmap.test
@@ -221,7 +221,7 @@ test imageBmap-4.1 {ImgBmapConfigureInstance procedure: check error handling} -s
test imageBmap-5.1 {GetBitmapData procedure} -body {
list [catch {image create bitmap -file ~bad_user/a/b} msg] \
[string tolower $msg]
-} -result {1 {user "bad_user" doesn't exist}}
+} -result {1 {couldn't read bitmap file "~bad_user/a/b": no such file or directory}}
test imageBmap-5.2 {GetBitmapData procedure} -body {
list [catch {image create bitmap -file bad_name} msg] [string tolower $msg]
} -result {1 {couldn't read bitmap file "bad_name": no such file or directory}}