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