Skip to content

Commit 8eaaf86

Browse files
committed
style: Apply google-java-format
1 parent 0bc9e94 commit 8eaaf86

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/com/retailsvc/http/HealthHandlerTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ void getReturns200AndJsonBodyWhenAllDependenciesUp() {
3838

3939
@Test
4040
void getReturns200WithEmptyDependencyArrayWhenNoDeps() {
41-
Response resp =
42-
Handlers.healthHandler(() -> new HealthOutcome(List.of())).handle(request(GET));
41+
Response resp = Handlers.healthHandler(() -> new HealthOutcome(List.of())).handle(request(GET));
4342

4443
assertThat(resp.status()).isEqualTo(HTTP_OK);
4544
assertThat(new String((byte[]) resp.body(), StandardCharsets.UTF_8))
@@ -107,6 +106,7 @@ void escapesSpecialCharsInDependencyId() {
107106

108107
assertThat(new String((byte[]) resp.body(), StandardCharsets.UTF_8))
109108
.isEqualTo(
110-
"{\"outcome\":\"Up\",\"dependencies\":[{\"id\":\"a\\\"b\\\\c\\nd\",\"status\":\"Up\"}]}");
109+
"{\"outcome\":\"Up\",\"dependencies\":[{\"id\":\"a\\\"b\\\\c\\n"
110+
+ "d\",\"status\":\"Up\"}]}");
111111
}
112112
}

0 commit comments

Comments
 (0)