fix: test
This commit is contained in:
parent
64a6dacc1e
commit
6b2b8b5124
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ const p = (code) => parser.parse(code, -1);
|
|||
|
||||
describe('mondo tokenizer', () => {
|
||||
const parser = new MondoParser();
|
||||
it('should tokenize with loangleions', () =>
|
||||
it('should tokenize with locations', () =>
|
||||
expect(
|
||||
parser
|
||||
.tokenize('(one two three)')
|
||||
|
|
@ -22,6 +22,7 @@ describe('mondo tokenizer', () => {
|
|||
// it('should parse with loangleions', () => expect(parser.parse('(one two three)')).toEqual());
|
||||
it('should get loangleions', () =>
|
||||
expect(parser.get_locations('s bd rim')).toEqual([
|
||||
[0, 1],
|
||||
[2, 4],
|
||||
[5, 8],
|
||||
]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue