aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-11-21 11:55:03 -0600
committerGitHub <noreply@github.com>2018-11-21 11:55:03 -0600
commit9bb068c4f4cdb67f3814ca8d2e2768fe1789c284 (patch)
tree5a465664c0253556609b6bf285f1807d01e20469 /test-suite/tests
parentf610ef33f4c12e363945ad3c80a1129b0389a699 (diff)
parent2dc1913e0220a4113bd6a9eb165c55cda0bee590 (diff)
downloadmilf-rs-9bb068c4f4cdb67f3814ca8d2e2768fe1789c284.tar.gz
milf-rs-9bb068c4f4cdb67f3814ca8d2e2768fe1789c284.zip
Merge pull request #275 from ehuss/fix-datetime-trailing-space
Fix trailing space after date.
Diffstat (limited to 'test-suite/tests')
-rw-r--r--test-suite/tests/datetime.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-suite/tests/datetime.rs b/test-suite/tests/datetime.rs
index f3b77e3..a0064fb 100644
--- a/test-suite/tests/datetime.rs
+++ b/test-suite/tests/datetime.rs
@@ -21,6 +21,8 @@ fn times() {
good("1997-09-09T09:09:09-09:09");
good("1997-09-09T09:09:09");
good("1997-09-09");
+ dogood("1997-09-09 ", "1997-09-09");
+ dogood("1997-09-09 # comment", "1997-09-09");
good("09:09:09");
good("1997-09-09T09:09:09.09Z");
good("1997-09-09T09:09:09.09+09:09");