shell-like argument splitting: add test
shell-like argument splitting: add test: a task in smol-software-harbor (Harbor dataset). The tests in tests/test main.c do not cover empty quoted words or quotes inside a word. Add checks that tokenize("a \"\" b", ...) returns 3 words with an empty middle word, that ab"c d"e is the single word…
The task
The tests in `tests/test_main.c` do not cover empty quoted words or quotes inside a word. Add checks that `tokenize("a \"\" b", ...)` returns 3 words with an empty middle word, that `ab"c d"e` is the single word `abc de`, and that a single quote inside double quotes is literal (`"it's"` gives `it's`). Do not change…
Part of efederici/smol-software-harbor.