fixex IdNumberTest#testInvalid regular expression

This commit is contained in:
Pascal Schumacher
2016-05-04 23:50:28 +02:00
committed by Ricky Yim
parent 2e4a0ed252
commit d2f6bc2b4b
@@ -22,7 +22,7 @@ public class IdNumberTest {
@Test
public void testInvalid() {
assertThat(faker.idNumber().invalid(), matchesRegularExpression("[0-8]\\d{2}-\\d{2}-\\d{4}"));
assertThat(faker.idNumber().invalid(), matchesRegularExpression("[0-9]\\d{2}-\\d{2}-\\d{4}"));
}
@Test