Vlad Klokun
b02410184e
fix: follow newline conventions of the autofixed file
...
This change makes the autofix handler use the newline separator defined
in the fixed file for writing its changes.
2023-01-12 19:25:39 +02:00
Vlad Klokun
02720d32dd
tests: extend test cases for autofix inserts
...
This change re-organizes the test cases for inserts performed by the
autofixing feature.
2023-01-11 20:21:22 +02:00
Vlad Klokun
3b68fc94d1
tests: test fixing close to newline-separated keys in hybrid scenarios
2023-01-11 20:21:22 +02:00
Vlad Klokun
10d534b5bf
tests: test autofixing files with comments between fields
2023-01-11 20:21:22 +02:00
Vlad Klokun
2d740fbf4f
tests: test autofixing indented lists in hybrid scenarios
2023-01-11 20:21:22 +02:00
Vlad Klokun
d0728676ee
tests: re-organize autofixing unit tests
...
This change:
- Changes test data naming convention to be lexicographically sortable
and have input and expected data side-by-side.
- Executes each test case in a separate run.
2023-01-11 20:21:22 +02:00
suhasgumma
8856c84a17
fix: keep user formatting when autofixing
2023-01-11 20:21:12 +02:00