This commit is contained in:
Looly
2021-02-26 23:18:05 +08:00
parent 32c4952d31
commit e3c1852c4d
3 changed files with 35 additions and 23 deletions

View File

@@ -60,4 +60,10 @@ public class ConditionTest {
// issue I38LTM
Assert.assertSame(Long.class, age.getValue().getClass());
}
@Test
public void parseInTest(){
final Condition age = Condition.parse("age", "in 1,2,3");
Assert.assertEquals("age IN (?,?,?)", age.toString());
}
}