summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-03-04 20:17:18 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-03-13 10:57:30 +0100
commite813ecae86371adf50b39a06d89709b1268abae3 (patch)
tree429b3149dd36f0cc5cb3bd7c9f6abfa32237a0ce
parentb416544eb5addd651d949acd0f0193d051f212ac (diff)
Fix expected error message
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--tests/errors.rs2
-rw-r--r--tests/file_toml.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/errors.rs b/tests/errors.rs
index e59608e..47dd050 100644
--- a/tests/errors.rs
+++ b/tests/errors.rs
@@ -27,7 +27,7 @@ fn test_error_parse() {
assert_eq!(
res.unwrap_err().to_string(),
format!(
- "failed to parse datetime for key `error` at line 2 column 9 in {}",
+ "invalid TOML value, did you mean to use a quoted string? at line 2 column 9 in {}",
path.display()
)
);
diff --git a/tests/file_toml.rs b/tests/file_toml.rs
index b964586..8fbd8a5 100644
--- a/tests/file_toml.rs
+++ b/tests/file_toml.rs
@@ -86,7 +86,7 @@ fn test_error_parse() {
assert_eq!(
res.unwrap_err().to_string(),
format!(
- "failed to parse datetime for key `error` at line 2 column 9 in {}",
+ "invalid TOML value, did you mean to use a quoted string? at line 2 column 9 in {}",
path_with_extension.display()
)
);