Skip to content

Commit

Permalink
Update src/test/java/net/datafaker/providers/base/AviationTest.java
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Nuyanzin <sergey.nuyanzin@aiven.io>
  • Loading branch information
L-Evg and snuyanzin committed Apr 17, 2023
1 parent f638003 commit 410bf77
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -23,7 +23,7 @@ void flight_IATA() {

@Test
void flight_default() {
assertThat(aviation.flight()).matches("[A-Z0-9]{2}[0-9]+");
assertThat(aviation.flight()).matches("[A-Z0-9]{2}\\d{1,4}");
}

@Test
Expand Down

0 comments on commit 410bf77

Please sign in to comment.