Skip to content

Commit d114620

Browse files
authored
BAEL-6058: fixed formatting for line continuation
1 parent 5483cb8 commit d114620

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

spring-boot-modules/spring-boot-mvc-5/src/test/java/com/baeldung/requestheader/HeaderInterceptorIntegrationTest.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,37 +29,37 @@ public class HeaderInterceptorIntegrationTest {
2929
@BeforeEach
3030
public void setup() {
3131
this.mockMvc = MockMvcBuilders.webAppContextSetup(this.webApplicationContext)
32-
.build();
32+
.build();
3333
}
3434

3535
@Test
3636
public void givenARequestWithOperatorHeader_whenWeCallFooEndpoint_thenOperatorIsExtracted() throws Exception {
3737
MockHttpServletResponse response = this.mockMvc.perform(get("/foo").header("operator", "John.Doe"))
38-
.andDo(print())
39-
.andReturn()
40-
.getResponse();
38+
.andDo(print())
39+
.andReturn()
40+
.getResponse();
4141

4242
assertThat(response.getContentAsString()).isEqualTo("hello, John.Doe");
4343
}
4444

4545
@Test
4646
public void givenARequestWithOperatorHeader_whenWeCallBarEndpoint_thenOperatorIsExtracted() throws Exception {
4747
MockHttpServletResponse response = this.mockMvc.perform(get("/bar").header("operator", "John.Doe"))
48-
.andDo(print())
49-
.andReturn()
50-
.getResponse();
48+
.andDo(print())
49+
.andReturn()
50+
.getResponse();
5151

5252
assertThat(response.getContentAsString()).isEqualTo("hello, John.Doe");
5353
}
5454

5555
@Test
5656
public void givenARequestWithOperatorHeader_whenWeCallBuzzEndpoint_thenOperatorIsIntercepted() throws Exception {
5757
MockHttpServletResponse response = this.mockMvc.perform(get("/buzz").header("operator", "John.Doe"))
58-
.andDo(print())
59-
.andReturn()
60-
.getResponse();
58+
.andDo(print())
59+
.andReturn()
60+
.getResponse();
6161

6262
assertThat(response.getContentAsString()).isEqualTo("hello, John.Doe");
6363
}
6464

65-
}
65+
}

0 commit comments

Comments
 (0)