We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@Test public void testChange_1() throws Exception { ExpressRunner runner = RuleEngine.newInstance(); IExpressContext<String, Object> context = new DefaultContext<String, Object>(); context.put("test", 2.004); String test = "if(test > 0){return 50}"; System.out.println(runner.execute(test, context, null, true, false)); String test1 = "if(test > 0){return -50}"; System.out.println(runner.execute(test1, context, null, true, false)); }
从测试用例得出test1执行失败,具体原因应该是在ExpressParse.transferWord2ExpressNode 对'-'这种特殊情况考虑不够。
The text was updated successfully, but these errors were encountered:
you are right,i have fixed the minus problem at version 3.1.5 ,here is the test https://github.com/alibaba/QLExpress/blob/master/src/test/java/com/ql/util/express/test/MinusOperatorTest.java
Sorry, something went wrong.
No branches or pull requests
从测试用例得出test1执行失败,具体原因应该是在ExpressParse.transferWord2ExpressNode 对'-'这种特殊情况考虑不够。
The text was updated successfully, but these errors were encountered: