fix: correct function call in test description (#40949)
This commit is contained in:
@ -48,7 +48,7 @@ assert(typeof parseSexpr === 'function');
|
|||||||
assert.deepEqual(parseSexpr(simpleSExpr), simpleSolution);
|
assert.deepEqual(parseSexpr(simpleSExpr), simpleSolution);
|
||||||
```
|
```
|
||||||
|
|
||||||
`parseSexpr('(data1 data2 data3)')` should return an array with 3 elements.
|
`parseSexpr('((data "quoted data" 123 4.5) (data (!@# (4.5) "(more" "data)")))')` should return `[['data', '"quoted data"', 123, 4.5], ['data', ['!@#', [4.5], '"(more"', '"data)"']]]`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert.deepEqual(parseSexpr(basicSExpr), basicSolution);
|
assert.deepEqual(parseSexpr(basicSExpr), basicSolution);
|
||||||
|
Reference in New Issue
Block a user