more work on date time test cases

This commit is contained in:
Grahame Grieve 2021-11-30 18:05:18 +11:00
parent c94cf32a8e
commit 5b99283a52
2 changed files with 5 additions and 1 deletions

View File

@ -101,7 +101,7 @@ public class NarrativeGeneratorTests {
@Test // varies between versions, so multiple possible expected
public void testDateTimeRendering4() throws FHIRFormatError, DefinitionException, IOException {
checkDateTimeRendering("2021-11-19T14:13:12Z", "en", "AU", ZoneId.of("UTC"), null, ResourceRendererMode.END_USER, "19/11/21, 2:13 pm", "19/11/21 2:13 pm");
checkDateTimeRendering("2021-11-19T14:13:12Z", "en", "AU", ZoneId.of("UTC"), null, ResourceRendererMode.END_USER, "19/11/21, 2:13 pm", "19/11/21 2:13 PM");
}

View File

@ -1510,5 +1510,9 @@ public class Utilities {
return -1;
}
public static String toString(String[] expected) {
return "['"+String.join("' | '", expected)+"']";
}
}