Skip to content
Snippets Groups Projects
Commit b45dd88d authored by dgelessus's avatar dgelessus
Browse files

Replace a manual #FORMULA prefix

parent 4cf1398b
No related branches found
No related tags found
No related merge requests found
Pipeline #114546 passed
...@@ -161,7 +161,7 @@ public class TestUtil { ...@@ -161,7 +161,7 @@ public class TestUtil {
public static String getAstStringofBExpressionString(final String expr) throws BCompoundException { public static String getAstStringofBExpressionString(final String expr) throws BCompoundException {
final BParser parser = new BParser("testcase"); final BParser parser = new BParser("testcase");
final Start startNode = parser.parse("#FORMULA " + expr, false); final Start startNode = parser.parseFormula(expr);
return getTreeAsString(startNode); return getTreeAsString(startNode);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment