nushell / nufmt

MIT License
64 stars 8 forks source link

test the binary #33

Open amtoine opened 1 year ago

amtoine commented 1 year ago

Should we test the function format_file? we can write a file, format it and the test it. After that, we can delete the file. What do you think? We can move that to another time too!

Originally posted by @AucaCoyan in https://github.com/nushell/nufmt/issues/31#issuecomment-1601383656

as nufmt is both a library (nu-formatter) and a binary application (nufmt), i think we should test both at some point!