tokenize
is a function.");'
- text: ''
testString: 'assert(typeof tokenize("a", "b", "c") === "object", "tokenize
should return an array.");'
- text: ''
testString: 'assert.deepEqual(tokenize(testStr1, "|", "^"), res1, "tokenize("one^|uno||three^^^^|four^^^|^cuatro|", "|", "^")
should return ["one|uno", "", "three^^", "four^|cuatro", ""]");'
- text: ''
testString: 'assert.deepEqual(tokenize(testStr2, "&", "@"), res2, "tokenize("a@&bcd&ef&&@@hi", "&", "@")
should return ["a&bcd", "ef", "", "@hi"]
");'
```