mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add test
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
package cn.hutool.core.convert;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Assertions;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
public class IssueIALV38Test {
|
||||||
|
@Test
|
||||||
|
void name() {
|
||||||
|
final Object o = Convert.convertWithCheck(BigDecimal.class, " 111啊", null, false);
|
||||||
|
Assertions.assertEquals(new BigDecimal("111"), o);
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user