From 446671a2a7433f201b87f40e4d9960d80aa1f804 Mon Sep 17 00:00:00 2001 From: Jeremy Daggett Date: Fri, 6 Jun 2014 11:40:44 -0700 Subject: [PATCH] Improve readability of expect test output --- .../org/jclouds/rest/internal/BaseRestApiExpectTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java b/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java index 4bb59eabf8..dfeca2740d 100644 --- a/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java +++ b/core/src/test/java/org/jclouds/rest/internal/BaseRestApiExpectTest.java @@ -453,13 +453,14 @@ public abstract class BaseRestApiExpectTest { if (response == null) { StringBuilder payload = new StringBuilder("\n"); - payload.append("the following request is not configured:\n"); + payload.append("\n----------------------------------------\n"); + payload.append("The following request is not configured:\n"); payload.append("----------------------------------------\n"); payload.append(renderRequest(input)); - payload.append("----------------------------------------\n"); - payload.append("configured requests:\n"); + payload.append("\n----------------------------------------\n"); + payload.append("Configured requests:\n"); for (HttpRequest request : requestToResponse.keySet()) { - payload.append("----------------------------------------\n"); + payload.append("\n----------------------------------------\n"); payload.append(renderRequest(request)); } response = HttpResponse.builder().statusCode(500).message("no response configured for request").payload(