Use case-insensitive comparator in HttpHeadersAssert

Closes gh-36349
This commit is contained in:
rstoyanchev
2026-02-20 13:38:51 +00:00
parent d4b2a493f9
commit b9a59853fa
3 changed files with 6 additions and 6 deletions
@@ -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