Skip to content

Commit

Permalink
fix flaky UniversityTest
Browse files Browse the repository at this point in the history
some university names contain "." character (e.g. "St. Andrews")
  • Loading branch information
asolntsev committed Oct 31, 2024
1 parent 6f00a78 commit 0f50bbe
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;

import java.util.List;
import java.util.Collection;
import java.util.List;

import static org.assertj.core.api.Assertions.assertThat;

class UniversityTest extends BaseFakerTest<BaseFaker> {

private static final String UNIVERSITY_MATCHER = "[A-Za-z'() öèü-]+";
private static final String UNIVERSITY_MATCHER = "[A-Za-z'() öèü\\-.]+";
private final University university = faker.university();

@Test
Expand Down

0 comments on commit 0f50bbe

Please sign in to comment.