added assert for AppTest name

This commit is contained in:
Ricky
2016-04-25 11:11:36 +10:00
parent 44e01d44e7
commit a7dfa649eb
@@ -17,7 +17,7 @@ public class AppTest {
@Test
public void testName() {
assertThat(faker.app().name(), matchesRegularExpression("\\w+"));
assertThat(faker.app().name(), matchesRegularExpression("[\\w-]+"));
}
@Test