fix tests

This commit is contained in:
Vyacheslav Matyukhin 2022-10-12 19:49:14 +04:00
parent 666524a36a
commit 80cc20ac72
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -22,7 +22,7 @@ let expectEvalError = (code: string) =>
Expression.BackCompatible.evaluateString(code)
->Reducer_Value.toStringResult
->expect
->toMatch("Error\(")
->toMatch("Error\\(")
let testParseToBe = (expr, answer) => test(expr, () => expectParseToBe(expr, answer))
let testDescriptionParseToBe = (desc, expr, answer) =>