mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix bug
This commit is contained in:
parent
feed45c12c
commit
4f7ad933eb
@ -3,6 +3,8 @@ package cn.hutool.db.sql;
|
|||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
public class ConditionTest {
|
public class ConditionTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@ -58,7 +60,7 @@ public class ConditionTest {
|
|||||||
final Condition age = Condition.parse("age", "< 10");
|
final Condition age = Condition.parse("age", "< 10");
|
||||||
Assert.assertEquals("age < ?", age.toString());
|
Assert.assertEquals("age < ?", age.toString());
|
||||||
// issue I38LTM
|
// issue I38LTM
|
||||||
Assert.assertSame(Long.class, age.getValue().getClass());
|
Assert.assertSame(BigDecimal.class, age.getValue().getClass());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user