chore: add in one more test

This commit is contained in:
BluJ
2023-06-09 11:02:36 -06:00
parent b0bfcf47b0
commit ba248eee28
2 changed files with 6 additions and 2 deletions

View File

@@ -12,6 +12,10 @@ describe("splitCommand ", () => {
["cat hello world", ["cat", "hello", "world"]],
["cat hello 'big world'", ["cat", "hello", "big world"]],
[`cat hello "big world"`, ["cat", "hello", "big world"]],
[
`cat hello "big world's are the greatest"`,
["cat", "hello", "big world's are the greatest"],
],
// Too many spaces
["cat ", ["cat"]],
[["cat "], ["cat "]],