Open tysg opened 4 years ago
grep will fail to capture runtime error like
grep
Line 1798: Expected 2 arguments, but got 1.
and test cases with the above output is erroneously marked as PASSED.
In fact, src/evaluators/__tests__/source-2-lazy.test1.js uses parse_and_evaluate(stmt) which is not defined in the program at all. It should throw a runtime error.
src/evaluators/__tests__/source-2-lazy.test1.js
parse_and_evaluate(stmt)
grep
will fail to capture runtime error likeand test cases with the above output is erroneously marked as PASSED.