Browse Source

Polishing

pull/32874/head
Sam Brannen 2 years ago
parent
commit
48e7908eff
  1. 2
      spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

2
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

@ -219,7 +219,7 @@ class WebClientIntegrationTests { @@ -219,7 +219,7 @@ class WebClientIntegrationTests {
else if (nativeRequest.get() instanceof Request nativeReq) {
assertThat(nativeReq.getAttributes()).containsEntry("foo", "bar");
}
else if (nativeRequest.get() instanceof org.apache.hc.core5.http.HttpRequest nativeReq) {
else if (nativeRequest.get() instanceof org.apache.hc.core5.http.HttpRequest) {
// Attributes are not in the request, but in separate HttpClientContext
}
}

Loading…
Cancel
Save