Skip to content

Conversation

@Splines
Copy link
Owner

@Splines Splines commented Dec 15, 2024

We fix missing back-transformations of some ERB statements in lintex text. For this purpose, we introduce a Dummy Replacements Map that tracks the replacements we made.

With this new change, we notice that maintaining manual tests for the offset map is really a huge pain. We get rid of that here and instead write some integration tests that cover the whole picture including pre- and postprocessor. This is even better since we now know exactly what failed in tests instead of having to manually parse the message objects and their fix ranges.

@Splines Splines self-assigned this Dec 15, 2024
@Splines Splines merged commit a3c2ace into main Dec 15, 2024
4 checks passed
@Splines Splines deleted the fix/autofix-replacements branch December 17, 2024 13:42
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