From c94cf32a8e30d31274b2be7106514daa1e80e53f Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 30 Nov 2021 17:52:13 +1100 Subject: [PATCH] try test again --- .../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 d485d0fe1..99d6ec19f 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(Utilities.existsInList(actual, expected)); + Assert.assertTrue("Actual = "+actual+", expected one of "+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(Utilities.existsInList(actual.substring(0, actual.length()-4).substring(3), expected)); + Assert.assertTrue("Actual = "+actual+", expected one of "+expected, Utilities.existsInList(actual.substring(0, actual.length()-4).substring(3), expected)); } @Test