Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Issue gh-13776
  • Loading branch information
marcusdacoregio committed Sep 25, 2023
1 parent b67218c commit 664ee9a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ public void doFilterWhenCharacterEncodingThenEncodeSpecialCharactersCorrectly()
this.filter.doFilter(this.request, this.response, this.chain);
assertThat(this.response.getCharacterEncoding()).isEqualTo(StandardCharsets.UTF_8.name());
assertThat(this.response.getContentAsString(StandardCharsets.UTF_8)).isEqualTo(generatedMetadata);
assertThat(this.response.getContentLength()).isEqualTo(
generatedMetadata.getBytes(StandardCharsets.UTF_8).length);
assertThat(this.response.getContentLength())
.isEqualTo(generatedMetadata.getBytes(StandardCharsets.UTF_8).length);
}

@Test
Expand Down

0 comments on commit 664ee9a

Please sign in to comment.