fix failing tests

This commit is contained in:
Grahame Grieve 2023-07-21 12:41:56 +10:00
parent cf1b53bba0
commit d8e2e020af
2 changed files with 9 additions and 7 deletions

View File

@ -48,6 +48,7 @@ public class ValueSetProcessBase {
}
public void seeValueSet(ValueSet vs) {
if (vs != null) {
for (Extension ext : vs.getCompose().getExtension()) {
if ("http://hl7.org/fhir/tools/StructureDefinion/valueset-expansion-param".equals(ext.getUrl())) {
String name = ext.getExtensionString("name");
@ -58,6 +59,7 @@ public class ValueSetProcessBase {
}
}
}
}
public boolean passes(List<Extension> extensions) {
if (all) {

View File

@ -22,7 +22,7 @@ public class UnicodeUtilitiesTests {
Assertions.assertNull(UnicodeUtilities.checkUnicodeWellFormed(UnicodeUtilities.RLI + " "+ UnicodeUtilities.LRI + "a b c "+
UnicodeUtilities.PDI+" "+UnicodeUtilities.LRI+" d e f "+UnicodeUtilities.PDI+" "+UnicodeUtilities.PDI));
Assertions.assertEquals(UnicodeUtilities.checkUnicodeWellFormed("'''subject funds from back account then "+UnicodeUtilities.RLI + "''' ;return"),
"Unicode Character RLI at index 40 has no terminating match");
"Unicode Character RLI at index 40 has no terminating match (preceding text = 'then ')");
}
}