doorgan / sourceror

Utilities to manipulate Elixir source code
Apache License 2.0
316 stars 22 forks source link

Use declarative range checks in tests #118

Closed doorgan closed 8 months ago

doorgan commented 8 months ago

This is inspired by how Lexical tests ranges:

https://github.com/lexical-lsp/lexical/blob/0fa712414d7de6288337ec1ef09eca5970b075c2/apps/remote_control/test/lexical/remote_control/code_intelligence/references_test.exs#L53-L63