mirror of
https://gitee.com/dromara/hutool.git
synced 2025-09-21 02:58:11 +08:00
add test
This commit is contained in:
@@ -15,4 +15,11 @@ public class ConvertToBooleanTest {
|
|||||||
final Boolean bBoolean = Convert.toBool(b);
|
final Boolean bBoolean = Convert.toBool(b);
|
||||||
Assert.assertFalse(bBoolean);
|
Assert.assertFalse(bBoolean);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void issueI65P8ATest() {
|
||||||
|
final Boolean bool = Convert.toBool("", Boolean.TRUE);
|
||||||
|
Assert.assertFalse(bool);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user