Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
osrufung committed Jan 24, 2021
1 parent ed83cfd commit 05c5683
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ let rawDates = """
[
{ "value" : "2015-08-29T11:22:09Z"},
{ "value" : "2015-08-29T11:22:09.129Z"},
{ "value" : "2020-11-27"}
{ "value" : "2020-11-27"},
{ "value" : "2019-08-03 23:59:59"}
]
""".data(using: .utf8)
Expand All @@ -52,5 +53,5 @@ struct DateContainer: Decodable {
}

let dates = try? decoder.decode([DateContainer].self, from: rawDates!)
XCTAssertEqual(dates?.count, 3)
XCTAssertEqual(dates?.count, 4)
```

0 comments on commit 05c5683

Please sign in to comment.