Closed afnanenayet closed 10 months ago
Attention: 36 lines
in your changes are missing coverage. Please review.
Comparison is base (
1da051a
) 59.47% compared to head (9e0b1d8
) 59.00%.
Files | Patch % | Lines |
---|---|---|
src/input_processing.rs | 61.81% | 21 Missing :warning: |
src/diff.rs | 62.50% | 15 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This cleans up some code and allows for stripping whitespace/newlines from the diffs when processing the tree-sitter AST. This yields more granular diffs that don't break on whitespace differences and newlines, which seems to be desirable.
This also updates some APIs for constructing tree-sitter grammars which makes it easier to make unit tests.