Skip to main content

src: fix the expected error for unrecognised image file formats

ID
a7d3cd4
date
2025-09-08 12:21:41+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
886ef07
message
src: fix the expected error for unrecognised image file formats
changed files
1 file, 1 addition, 1 deletion

Changed files

src/main.rs (6408) → src/main.rs (6436)

diff --git a/src/main.rs b/src/main.rs
index 7b063c8..827fdb7 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -148,7 +148,7 @@ mod test_cli {
             .failure()
             .code(1)
             .stdout("")
-            .stderr("The image format could not be determined\n");
+            .stderr("The file extension `.\"toml\"` was not recognized as an image format\n");
     }
 
     // TODO: Improve this error message.