mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add test
This commit is contained in:
parent
662bb5ce21
commit
166ee9eeec
@ -0,0 +1,14 @@
|
|||||||
|
package org.dromara.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 = ConvertUtil.convertWithCheck(BigDecimal.class, " 111啊", null, false);
|
||||||
|
Assertions.assertEquals(new BigDecimal("111"), o);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user