Fix bug in testing with multiple contexts for the same version

This commit is contained in:
Grahame Grieve 2020-03-20 05:23:29 +11:00
parent f732c7bf0c
commit 1ad12a4396
1 changed files with 1 additions and 0 deletions

View File

@ -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<>();
}