fix failing tests
This commit is contained in:
parent
cf1b53bba0
commit
d8e2e020af
|
@ -48,12 +48,14 @@ public class ValueSetProcessBase {
|
|||
}
|
||||
|
||||
public void seeValueSet(ValueSet vs) {
|
||||
for (Extension ext : vs.getCompose().getExtension()) {
|
||||
if ("http://hl7.org/fhir/tools/StructureDefinion/valueset-expansion-param".equals(ext.getUrl())) {
|
||||
String name = ext.getExtensionString("name");
|
||||
Extension value = ext.getExtensionByUrl("value");
|
||||
if ("includeAlternateCodes".equals(name) && value != null && value.hasValue()) {
|
||||
seeParameter(value.getValue());
|
||||
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");
|
||||
Extension value = ext.getExtensionByUrl("value");
|
||||
if ("includeAlternateCodes".equals(name) && value != null && value.hasValue()) {
|
||||
seeParameter(value.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 ')");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue