Skip to content

Commit c64a2d0

Browse files
github-actionsgithub-actions
github-actions
authored and
github-actions
committed
Formatted with Google Java Formatter
1 parent e98c8e1 commit c64a2d0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
package com.examplehub.basics.regex;
22

3-
public class MatchesExample {
4-
}
3+
public class MatchesExample {}

src/test/java/com/examplehub/basics/regex/MatchesExampleTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package com.examplehub.basics.regex;
22

3-
import org.junit.jupiter.api.Test;
4-
53
import static org.junit.jupiter.api.Assertions.*;
64

5+
import org.junit.jupiter.api.Test;
6+
77
class MatchesExampleTest {
88
@Test
99
void testGivenDigits() {
@@ -110,7 +110,6 @@ void testOneMoreDigits() {
110110
assertFalse("a01".matches(regex));
111111
}
112112

113-
114113
@Test
115114
void testOneOrZeroDigit() {
116115
String regex = "a\\d?";
@@ -201,4 +200,4 @@ void testOr() {
201200
assertTrue("learn Java".matches(regex));
202201
assertTrue("learn Python".matches(regex));
203202
}
204-
}
203+
}

0 commit comments

Comments
 (0)