From 2dc1913e0220a4113bd6a9eb165c55cda0bee590 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 21 Nov 2018 09:35:50 -0800 Subject: Fix trailing space after date. The space between date and time was being eagerly skipped when it shouldn't. --- test-suite/tests/datetime.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test-suite') 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"); -- cgit v1.2.3