summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()
)
);