Skip to content

Commit 2fa8c2b

Browse files
committed
Fix formatting
1 parent 6a90ba2 commit 2fa8c2b

File tree

1 file changed

+2
-3
lines changed
  • spring-cloud-function-adapters/spring-cloud-function-serverless-web/src/test/java/org/springframework/cloud/function/serverless/web

1 file changed

+2
-3
lines changed

spring-cloud-function-adapters/spring-cloud-function-serverless-web/src/test/java/org/springframework/cloud/function/serverless/web/RequestResponseTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import org.springframework.cloud.function.test.app.PetStoreSpringAppConfig;
3030
import org.springframework.cloud.function.test.app.PetStoreSpringAppConfig.AnotherFilter;
3131
import org.springframework.cloud.function.test.app.PetStoreSpringAppConfig.SimpleFilter;
32-
import org.springframework.http.HttpHeaders;
3332
import org.springframework.http.HttpStatus;
3433

3534
import static org.assertj.core.api.Assertions.assertThat;
@@ -57,15 +56,15 @@ public void before() {
5756
public void after() {
5857
this.mvc.stop();
5958
}
60-
59+
6160
@Test
6261
public void validateCaseInsensitiveHeaders() throws Exception {
6362
ServerlessHttpServletRequest request = new ServerlessHttpServletRequest(null, "GET", "/index");
6463
request.setHeader("User-Agent", "iOS");
6564
request.setHeader("uSer-Agent", "FOO");
6665
request.setContentType("application/json");
6766
request.setHeader("CoNteNt-tYpe", "text/plain");
68-
67+
6968
assertThat(request.getHeader("content-TYPE")).isEqualTo("application/json");
7069
assertThat(request.getHeader("user-agenT")).isEqualTo("iOS");
7170
}

0 commit comments

Comments
 (0)