Skip to content

Commit a9d0ad3

Browse files
committed
Fix expected error message
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 parent 5a2478c commit a9d0ad3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fn test_error_parse() {
2727
assert_eq!(
2828
res.unwrap_err().to_string(),
2929
format!(
30-
"failed to parse datetime for key `error` at line 2 column 9 in {}",
30+
"invalid TOML value, did you mean to use a quoted string? at line 2 column 9 in {}",
3131
path.display()
3232
)
3333
);

tests/file_toml.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fn test_error_parse() {
8686
assert_eq!(
8787
res.unwrap_err().to_string(),
8888
format!(
89-
"failed to parse datetime for key `error` at line 2 column 9 in {}",
89+
"invalid TOML value, did you mean to use a quoted string? at line 2 column 9 in {}",
9090
path_with_extension.display()
9191
)
9292
);

0 commit comments

Comments
 (0)