Closed amtoine closed 1 year ago
in all the tests, the input string does not have a newline at the end, whereas the output of nufmt does. it is by design?
Yes, this is intended. The nufmt
should add a new line at the end of the script.
Thanks! It is clearer this way 😄 You can merge @fdncred 🚢
cc/ @AucaCoyan
i was having a look at the tests and wanted to give a go at
in this PR, i've
ignore
clause in theignore_comments
testhandle_escaped_strings
becauseignore_whitespace_in_string
already tests thisexpected
part of theassert
s explicitexpected
always afternu
, for consistencyi hope you'll find that somewhat better :crossed_fingers:
:question: @AucaCoyan, i've got a question :smirk: in all the tests, the input string does not have a newline at the end, whereas the output of
nufmt
does. it is by design?