Skip to main content

Fix a failing test

ID
15ab295
date
2024-05-12 09:28:53+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
8296560
message
Fix a failing test
changed files
1 file, 1 addition, 4 deletions

Changed files

src/main.rs (8395) → src/main.rs (8335)

diff --git a/src/main.rs b/src/main.rs
index 867c999..ba76ddc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -221,10 +221,7 @@ mod tests {
 
         assert_eq!(output.exit_code, 1);
         assert_eq!(output.stdout, "");
-        assert_eq!(
-            output.stderr,
-            "The file extension `.\"md\"` was not recognized as an image format\n"
-        );
+        assert_eq!(output.stderr, "The image format could not be determined\n");
     }
 
     #[test]