From b0d23a77d60c4bfaac1635e80babac714da568c9 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 11 Dec 2024 17:43:06 +0300 Subject: [PATCH] fix quality violations --- src/test/java/com/jcabi/http/response/JacksonResponseTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/com/jcabi/http/response/JacksonResponseTest.java b/src/test/java/com/jcabi/http/response/JacksonResponseTest.java index c78ea4e8..65ad43ff 100644 --- a/src/test/java/com/jcabi/http/response/JacksonResponseTest.java +++ b/src/test/java/com/jcabi/http/response/JacksonResponseTest.java @@ -232,6 +232,7 @@ void cannotReadJsonAsObjectIfNotOne() throws IOException { final JacksonResponse response = new FakeRequest() .withBody(body).fetch().as(JacksonResponse.class); MatcherAssert.assertThat( + "should contains error 'Cannot read as an object. The JSON is not a valid object.", Assertions.assertThrows( IOException.class, new Executable() {