Open amtoine opened 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!
nufmt
nu-formatter
format_string
nu!
nu
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!format_string
:ok_hand:nufmt
, you know with thenu!
macro that runs commands innu
as if the tests were in the REPL