mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -17,7 +17,7 @@ public class AviatorTest {
|
||||
|
||||
@Test
|
||||
public void simpleTest(){
|
||||
final Foo foo = new Foo(100, 3.14f, DateUtil.parseDate("2020-11-12"));
|
||||
final Foo foo = new Foo(100, 3.14f, DateUtil.parse("2020-11-12"));
|
||||
final ExpressionEngine engine = new AviatorEngine();
|
||||
String exp =
|
||||
"\"[foo i=\"+ foo.i + \", f=\" + foo.f + \", date.year=\" + (foo.date.year+1900) + \", date.month=\" + foo.date.month + \", bars[0].name=\" + #foo.bars[0].name + \"]\"";
|
||||
|
Reference in New Issue
Block a user