From 1ad12a439613fc30608841a176fd3ad92fc97093 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 20 Mar 2020 05:23:29 +1100 Subject: [PATCH] Fix bug in testing with multiple contexts for the same version --- .../main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java index 744646a7b..4428c3c0d 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/test/utils/TestingUtilities.java @@ -67,6 +67,7 @@ public class TestingUtilities { return context("4.0.1"); } public static IWorkerContext context(String version) { + version = VersionUtilities.getMajMin(version); if (fcontexts == null) { fcontexts = new HashMap<>(); }