mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
add test
This commit is contained in:
parent
9be0fef520
commit
227a6efe63
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user