[SB 3] Fix checkstyle in http-request-function. (#406)

* [SB 3] Fix checkstyle in http-request-function.
This commit is contained in:
Corneil du Plessis
2022-11-07 16:57:11 +02:00
committed by GitHub
parent cab24caef8
commit caa0ad20e5

View File

@@ -161,7 +161,8 @@ public class HttpRequestFunctionTestApplicationTests {
try {
httpRequestFunction.apply(new GenericMessage(""));
fail("Expected exception");
} catch (Throwable throwable) {
}
catch (Throwable throwable) {
assertThat(throwable.getMessage()).contains("Connection refused");
}
});