Skip to content

Commit

Permalink
add short date tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Mar 7, 2020
1 parent 9b6c462 commit 876744f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions v5/pkg/walkers/semantics/walk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,10 @@ var _ = Describe("Walk", func() {
Entry("dates", "date = 2020-01-01T00:00:00Z", true),
Entry("dates", "date > 2020-01-02T00:00:00Z", false),
Entry("dates", "date between 2019-12-30T00:00:00Z and 2020-01-02T00:00:00Z", true),

// short dates
Entry("dates", "date = 2020-01-01", true),
Entry("dates", "date > 2020-01-02", false),
Entry("dates", "date between 2019-12-30 and 2020-01-02", true),
)
})

0 comments on commit 876744f

Please sign in to comment.