mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 17:09:05 +00:00
Use case-insensitive comparator in HttpHeadersAssert
Closes gh-36349
This commit is contained in:
@@ -161,8 +161,8 @@ class HttpHeadersAssertTests {
|
||||
@Test
|
||||
void hasValueWithStringMatch() {
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addAll("header", List.of("a", "b", "c"));
|
||||
assertThat(headers).hasValue("header", "a");
|
||||
headers.addAll("Header", List.of("a", "b", "c"));
|
||||
assertThat(headers).hasValue("hEADer", "a");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user