Commit Graph

6 Commits

Author SHA1 Message Date
belka-ew 4d264ac551 Fix array literal indentation in foreach (#554) 2022-07-11 23:55:20 +02:00
Bastiaan Veelo 2ca0bab22a Retain line ending by default.
If no `--end_of_line` was specified, find the first line ending in the input and use that for the whole output.

All tests include checking for differences in line endings.

Closes #552.
2022-06-02 12:45:32 +02:00
Bastiaan Veelo f81ddeadbd
obey `end_of_line` setting in all tokens (#550)
Multi-line tokens would be written with `LF`, regardless the `end_of_line` setting.

Fixes #228 and also produces end_of_line specified line-endings in strings.
2022-05-25 13:21:07 +02:00
Eugen Wissner 77e2ba4e3d Fix array indentation as argument 2022-05-23 14:09:26 +02:00
Martin Kinkelin b776d5a9b9 Fix tests 2021-10-31 20:37:32 +09:00
Sönke Ludwig 0f61586438 Add tests for "knr" brace style. 2021-04-16 13:57:59 +02:00