From 72ec59d51b28a89fa2f859ae6d32ac45ff9ce498 Mon Sep 17 00:00:00 2001 From: James Date: Sun, 29 Oct 2017 21:54:40 -0400 Subject: [PATCH] Remove Linux specific line endings from test --- .../fhir/rest/server/GraphQLR4ProviderTest.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/GraphQLR4ProviderTest.java b/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/GraphQLR4ProviderTest.java index b4e15bcdd14..ab0bd535841 100644 --- a/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/GraphQLR4ProviderTest.java +++ b/hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/server/GraphQLR4ProviderTest.java @@ -94,14 +94,14 @@ public class GraphQLR4ProviderTest { ourLog.info(responseContent); assertEquals(200, status.getStatusLine().getStatusCode()); - assertEquals("{\n" + - " \"name\":[{\n" + - " \"family\":\"FAMILY\",\n" + - " \"given\":[\"GIVEN1\",\"GIVEN2\"]\n" + - " },{\n" + - " \"given\":[\"GivenOnly1\",\"GivenOnly2\"]\n" + - " }]\n" + - "}", responseContent); + assertEquals("{" + + " \"name\":[{" + + " \"family\":\"FAMILY\"," + + " \"given\":[\"GIVEN1\",\"GIVEN2\"]" + + " },{" + + " \"given\":[\"GivenOnly1\",\"GivenOnly2\"]" + + " }]" + + "}", responseContent.replace("\n", "").replace("\r", "")); assertThat(status.getFirstHeader(Constants.HEADER_CONTENT_TYPE).getValue(), startsWith("application/json")); } finally {