Skip to content

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

Open
matt-beanland wants to merge 1 commit into
ash-project:mainfrom
matt-beanland:test/range-expressions
Open

chore: add tests for the range expressions rendered by ash_sql#822
matt-beanland wants to merge 1 commit 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.

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.

1 participant