From 876744f8aec398ddebc6485eb68cd60e7cb3031b Mon Sep 17 00:00:00 2001 From: yaacov Date: Sat, 7 Mar 2020 15:14:19 +0200 Subject: [PATCH] add short date tests --- v5/pkg/walkers/semantics/walk_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v5/pkg/walkers/semantics/walk_test.go b/v5/pkg/walkers/semantics/walk_test.go index 82c35c4..fa2010f 100644 --- a/v5/pkg/walkers/semantics/walk_test.go +++ b/v5/pkg/walkers/semantics/walk_test.go @@ -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), ) })