From 4babbd9724594021d3676a69dad180510bb5d80d Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 1 Dec 2021 08:06:31 +1100 Subject: [PATCH] clean up test logging --- .../java/org/hl7/fhir/r5/test/NarrativeGeneratorTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/NarrativeGeneratorTests.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/NarrativeGeneratorTests.java index 19623ac20..e48ff819e 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/NarrativeGeneratorTests.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/test/NarrativeGeneratorTests.java @@ -74,13 +74,13 @@ public class NarrativeGeneratorTests { DateTimeType dt = new DateTimeType(src); String actual = new DataRenderer(rc).display(dt); - Assert.assertTrue("Actual = "+actual+", expected one of "+expected, Utilities.existsInList(actual, expected)); + Assert.assertTrue("Actual = "+actual+", expected one of "+Utilities.toString(expected), Utilities.existsInList(actual, expected)); XhtmlNode node = new XhtmlNode(NodeType.Element, "p"); new DataRenderer(rc).render(node, dt); actual = new XhtmlComposer(true, false).compose(node); Assert.assertTrue(actual.startsWith("

")); Assert.assertTrue(actual.endsWith("

")); - Assert.assertTrue("Actual = "+actual+", expected one of "+expected, Utilities.existsInList(actual.substring(0, actual.length()-4).substring(3), expected)); + Assert.assertTrue("Actual = "+actual+", expected one of "+Utilities.toString(expected), Utilities.existsInList(actual.substring(0, actual.length()-4).substring(3), expected)); } @Test