Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions tests/fixtures/conformance-0.18.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
6 changes: 6 additions & 0 deletions tests/fixtures/conformance_corpus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down