Skip to content

chore: add tests for the range expressions rendered by ash_sql - #822

Merged
zachdaniel merged 3 commits into
ash-project:mainfrom
matt-beanland:test/range-expressions
Aug 20, 2026
Merged

chore: add tests for the range expressions rendered by ash_sql#822
zachdaniel merged 3 commits into
ash-project:mainfrom
matt-beanland:test/range-expressions

Conversation

@matt-beanland

Copy link
Copy Markdown
Contributor

Contributor checklist

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

Part of #821

Tests the rendering added in ash-project/ash_sql#248, which has no database of its own.

Eight tests over the Booking fixture from #818: range_overlaps/2, range_contains/2 with a point and with a range, range_adjacent/2, range_lower/1, range_upper/1, and sorting by a range.

Requires ash_sql to release with #248, and ash to release the range expressions and ash-project/ash#2877.

@zachdaniel

Copy link
Copy Markdown
Contributor

I've published ash_sql so you can update the dependency here to get the tests passing.

@zachdaniel
zachdaniel merged commit 1a08552 into ash-project:main Aug 20, 2026
126 checks passed
@zachdaniel

Copy link
Copy Markdown
Contributor

🚀 Thank you for your contribution! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants