Closed caarlos0 closed 6 months ago
ps: we could use testscripts for these integration tests I think, so we could get coverage of them too
https://github.com/rogpeppe/go-internal/tree/master/testscript https://github.com/charmbracelet/soft-serve/blob/main/testscript/script_test.go
Split by space is not always correct, for instance:
would be split in:
Using the shellwords parse it would correctly split it to: