mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add plate
This commit is contained in:
@@ -130,4 +130,9 @@ public class ValidatorTest {
|
||||
general = Validator.isGeneral(str, -1, 100);
|
||||
Assert.assertFalse(general);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isPlateNumberTest(){
|
||||
Assert.assertTrue(Validator.isPlateNumber("粤BA03205"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user