mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 01:19:14 +00:00
fix tests on unix
This commit is contained in:
parent
bf07cecfab
commit
977d8e71d5
@ -76,7 +76,7 @@ public class LiquidEngineTests implements ILiquidEngineIcludeResolver {
|
|||||||
private Resource loadResource() throws IOException, FHIRFormatError {
|
private Resource loadResource() throws IOException, FHIRFormatError {
|
||||||
String name = test.get("focus").getAsString();
|
String name = test.get("focus").getAsString();
|
||||||
if (!resources.containsKey(name)) {
|
if (!resources.containsKey(name)) {
|
||||||
String fn = TestingUtilities.resourceNameToFile(name.replace("/", "-")+".xml");
|
String fn = TestingUtilities.resourceNameToFile((name.replace("/", "-")+".xml").toLowerCase());
|
||||||
resources.put(name, new XmlParser().parse(new FileInputStream(fn)));
|
resources.put(name, new XmlParser().parse(new FileInputStream(fn)));
|
||||||
}
|
}
|
||||||
return resources.get(test.get("focus").getAsString());
|
return resources.get(test.get("focus").getAsString());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user