Merge pull request #12245 from anuragkumawat/JAVA-11422

JAVA-11422 Update article - A Guide To Java Regular Expressions API
This commit is contained in:
kwoyke 2022-05-23 14:32:16 +02:00 committed by GitHub
commit 1766f9b493
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public class RegexUnitTest {
@Test
public void givenNumberRange_whenMatchesAccurately_thenCorrect2() {
int matches = runTest("[30-35]", "Two Uppercase alphabets 34 overall");
int matches = runTest("3[0-5]", "Two Uppercase alphabets 34 overall");
assertTrue(matches > 0);
assertEquals(matches, 1);
}