aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/datetime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/tests/datetime.rs')
-rw-r--r--test-suite/tests/datetime.rs15
1 files changed, 12 insertions, 3 deletions
diff --git a/test-suite/tests/datetime.rs b/test-suite/tests/datetime.rs
index 7434076..4855f54 100644
--- a/test-suite/tests/datetime.rs
+++ b/test-suite/tests/datetime.rs
@@ -50,11 +50,20 @@ fn bad_times() {
"foo = 1997-09-0909:09:09",
"failed to parse datetime for key `foo`"
);
- bad!("foo = 1997-09-09T09:09:09.", "invalid date at line 1");
+ bad!(
+ "foo = 1997-09-09T09:09:09.",
+ "invalid date at line 1 column 7"
+ );
bad!("foo = T", "failed to parse datetime for key `foo`");
- bad!("foo = T.", "expected newline, found a period at line 1");
+ bad!(
+ "foo = T.",
+ "expected newline, found a period at line 1 column 8"
+ );
bad!("foo = TZ", "failed to parse datetime for key `foo`");
- bad!("foo = 1997-09-09T09:09:09.09+", "invalid date at line 1");
+ bad!(
+ "foo = 1997-09-09T09:09:09.09+",
+ "invalid date at line 1 column 7"
+ );
bad!(
"foo = 1997-09-09T09:09:09.09+09",
"failed to parse datetime for key `foo`"