diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-30 23:10:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-30 23:10:03 (GMT) |
commit | c1ebd8dbebdf9d46522d17aceecbf1f3684101dc (patch) | |
tree | 498b0ee82e8e3e2bfb94aa95426bce00351a1bf5 | |
parent | 1c562792a5e80ef3362c78bba77a17b0809983c8 (diff) | |
download | tk-c1ebd8dbebdf9d46522d17aceecbf1f3684101dc.zip tk-c1ebd8dbebdf9d46522d17aceecbf1f3684101dc.tar.gz tk-c1ebd8dbebdf9d46522d17aceecbf1f3684101dc.tar.bz2 |
Adapt (improved) error-message, due to previous commit
-rw-r--r-- | tests/imgBmap.test | 2 |
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}} |