Skip to content

Commit fb69da4

Browse files
committed
Auto-format with spotless
1 parent 830436d commit fb69da4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/test/java/com/miguno/javadockerbuild/controllers/WelcomeControllerIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public class WelcomeControllerIT {
1717
@Test
1818
public void welcome() throws Exception {
1919
ResponseEntity<String> response = template.getForEntity("/welcome", String.class);
20-
String expectedJson = """
20+
String expectedJson =
21+
"""
2122
{"welcome":"Hello, World!"}
2223
""";
2324
JSONAssert.assertEquals(expectedJson, response.getBody(), JSONCompareMode.STRICT);

src/test/java/com/miguno/javadockerbuild/controllers/WelcomeControllerTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ public class WelcomeControllerTest {
2020

2121
@Test
2222
public void getWelcome() throws Exception {
23-
String expectedJson = """
23+
String expectedJson =
24+
"""
2425
{"welcome":"Hello, World!"}
2526
""";
2627

@@ -31,7 +32,8 @@ public void getWelcome() throws Exception {
3132

3233
@Test
3334
public void getWelcomeWithPathVariable() throws Exception {
34-
String expectedJson = """
35+
String expectedJson =
36+
"""
3537
{"welcome":"Hello, Gandalf!"}
3638
""";
3739

0 commit comments

Comments
 (0)