diff --git a/tests/fixtures/conformance-0.18.1.json b/tests/fixtures/conformance-0.18.1.json index 00cdc2c..60f064b 100644 --- a/tests/fixtures/conformance-0.18.1.json +++ b/tests/fixtures/conformance-0.18.1.json @@ -46,6 +46,28 @@ ], "source": "remember a date called starts-at with 2026-03-15\nrequire starts-at is not below 2026-01-01\nrequire starts-at is not above 2026-12-31" }, + { + "id": "a date range over a record field, which is the shape a consumer writes", + "results": [ + { + "canonical": "remember an event called e1 with title as launch and starts-at as 2026-03-15", + "status": "success" + }, + { + "canonical": "remember a list called events with e1", + "status": "success" + }, + { + "canonical": "filter the events where starts-at is not below 2026-01-01", + "status": "success" + }, + { + "canonical": "filter the events where starts-at is not above 2026-12-31", + "status": "success" + } + ], + "source": "remember an event called e1 with title as launch and starts-at as 2026-03-15\nremember a list called events with e1\nfilter the events where starts-at is not below 2026-01-01\nfilter the events where starts-at is not above 2026-12-31" + }, { "id": "a range comparison over text is refused", "results": [ diff --git a/tests/fixtures/conformance_corpus.txt b/tests/fixtures/conformance_corpus.txt index b44aaee..fe91a67 100644 --- a/tests/fixtures/conformance_corpus.txt +++ b/tests/fixtures/conformance_corpus.txt @@ -11,6 +11,12 @@ remember a date called starts-at with 2026-03-15 require starts-at is not below 2026-01-01 require starts-at is not above 2026-12-31 +# a date range over a record field, which is the shape a consumer writes +remember an event called e1 with title as launch and starts-at as 2026-03-15 +remember a list called events with e1 +filter the events where starts-at is not below 2026-01-01 +filter the events where starts-at is not above 2026-12-31 + # a range comparison over text is refused remember a string called title with "roof" require title is above 50