Skip to content

Commit

Permalink
Add tests for timezone parsing whitespace and colon
Browse files Browse the repository at this point in the history
Add tests for timezone parsing infinite whitespace and colons.

Prepatory tests for next commit around constraining timezone and
colons.
  • Loading branch information
jtmoon79 committed Mar 13, 2023
1 parent 2fd2ff7 commit 9460a28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/datetime/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,11 @@ fn test_parse_datetime_utc() {
"2001-02-03T04:05:06+0000",
"2001-02-03T04:05:06-00:00",
"2001-02-03T04:05:06-01:00",
"2001-02-03T04:05:06-01: 00",
"2001-02-03T04:05:06-01 :00",
"2001-02-03T04:05:06-01 : 00",
"2001-02-03T04:05:06-01 : 00",
"2001-02-03T04:05:06-01 : :00",
"2012-12-12T12:12:12Z",
"2015-02-18T23:16:09.153Z",
"2015-2-18T23:16:09.153Z",
Expand Down

0 comments on commit 9460a28

Please sign in to comment.