Fix the expected error message in this test
- ID
7502147- date
2024-05-12 09:33:09+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
8aa15c3- message
Fix the expected error message in this test- changed files
1 file, 1 addition, 1 deletion
Changed files
src/main.rs (8381) → src/main.rs (8383)
diff --git a/src/main.rs b/src/main.rs
index 0e3b273..e0e8d1f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -194,7 +194,7 @@ mod tests {
assert_eq!(output.stdout, "");
assert_eq!(
output.stderr,
- "error: Invalid value 'NaN' for '--max-colours <MAX-COLOURS>': invalid digit found in string\n\nFor more information try '--help'\n"
+ "error: invalid value 'NaN' for '--max-colours <MAX-COLOURS>': invalid digit found in string\n\nFor more information, try '--help'.\n"
);
}