From c1ebd8dbebdf9d46522d17aceecbf1f3684101dc Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sun, 30 Oct 2022 23:10:03 +0000 Subject: Adapt (improved) error-message, due to previous commit --- tests/imgBmap.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}} -- cgit v0.12