Refine assertion error message in CfBasicHttpClientTest.

This commit is contained in:
2026-03-10 19:35:17 +01:00
parent 60005d7d6e
commit 0ce37c53aa
@@ -82,7 +82,7 @@ class CfBasicHttpClientTest {
assertTrue(exception.getMessage().contains("Unexpected error"));
Throwable cause = exception.getCause();
assertInstanceOf(CloudflareApiException.class, cause);
assertTrue(cause.getMessage().contains("API error: 10404: No route for that URI"));
assertTrue(cause.getMessage().contains("API error: 10404: No route for that URI"), "Expected error message No route for that URI");
}
@Test