Closed amtoine closed 1 year ago
I love it! I knew a good refactor was coming for these tests. Much of the code base is ugly today, but the important part is that it works. Slowly but surely we will refactor it beautifully 💯
I love it!
cool, i take that for an approval then :blush:
I knew a good refactor was coming for these tests.
here it comes :muscle:
Much of the code base is ugly today, but the important part is that it works. Slowly but surely we will refactor it beautifully 100
yup agree :relieved:
cc/ @AucaCoyan
did you know i like refactoring things? :smirk:
in this PR, i propose
ignore_comments
test into multiple lines => this makes the whole structure easier to see imo, e.g. the fact thatnufmt
adds a trailing whitespace aftermyfunc(one)
nu
intoinput
in the tests to testnufmt(input) == expected
run_test
wrapper that callsnufmt
andassert
the values