fix: fix testing issues #9
Annotations
7 errors
|
test-javascript
Process completed with exit code 1.
|
|
test/grammar.test.js > Valid UVL models > parses faulty/illegalname.uvl:
js/test/grammar.test.js#L31
AssertionError: expected [Function] to not throw an error but 'Error: extraneous input \'12\' expect…' was thrown
- Expected:
undefined
+ Received:
"Error: extraneous input '12' expecting {'String', 'Boolean', 'Integer', 'Real', ID_NOT_STRICT, ID_STRICT}"
❯ test/grammar.test.js:31:48
|
|
test/grammar.test.js > Valid UVL models > parses faulty/wrongindent.uvl:
js/test/grammar.test.js#L31
AssertionError: expected [Function] to not throw an error but 'Error: mismatched input \'mandatory\'…' was thrown
- Expected:
undefined
+ Received:
"Error: mismatched input 'mandatory' expecting '<DEDENT>'"
❯ test/grammar.test.js:31:48
|
|
test/grammar.test.js > Valid UVL models > parses syntax/comments_and_blanks/fm02_inline_comment.uvl:
js/test/grammar.test.js#L31
AssertionError: expected [Function] to not throw an error but 'Error: extraneous input \'\t\' expect…' was thrown
- Expected:
undefined
+ Received:
"Error: extraneous input '\\t' expecting {'<DEDENT>', 'String', 'Boolean', 'Integer', 'Real', ID_NOT_STRICT, ID_STRICT}"
❯ test/grammar.test.js:31:48
|
|
test/grammar.test.js > Valid UVL models > parses syntax/comments_and_blanks/fm03_block_comment.uvl:
js/test/grammar.test.js#L31
AssertionError: expected [Function] to not throw an error but 'Error: extraneous input \'\t\' expect…' was thrown
- Expected:
undefined
+ Received:
"Error: extraneous input '\\t' expecting {'String', 'Boolean', 'Integer', 'Real', ID_NOT_STRICT, ID_STRICT}"
❯ test/grammar.test.js:31:48
|
|
test/grammar.test.js > Valid UVL models > parses syntax/comments_and_blanks/fm06_comments_and_blanks.uvl:
js/test/grammar.test.js#L31
AssertionError: expected [Function] to not throw an error but 'Error: extraneous input \' \' expecti…' was thrown
- Expected:
undefined
+ Received:
"Error: extraneous input ' ' expecting {'String', 'Boolean', 'Integer', 'Real', ID_NOT_STRICT, ID_STRICT}"
❯ test/grammar.test.js:31:48
|
|
test/grammar.test.js > Valid UVL models > parses syntax/comments.uvl:
js/test/grammar.test.js#L31
AssertionError: expected [Function] to not throw an error but 'Error: mismatched input \' \' expecti…' was thrown
- Expected:
undefined
+ Received:
"Error: mismatched input ' ' expecting '<INDENT>'"
❯ test/grammar.test.js:31:48
|