support 10 as well

Signed-off-by: olivier lamy <olamy@webtide.com>
This commit is contained in:
olivier lamy 2018-02-08 17:25:24 +10:00
parent 42d9482f50
commit 716a703b4e
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ public class ModulesTest
modules.registerAll();
// Check versions
assertThat("java.version.platform", args.getProperties().getString("java.version.platform"),anyOf(equalTo("8"),equalTo("9")));
assertThat("java.version.platform", args.getProperties().getString("java.version.platform"), //
anyOf(equalTo("8"),equalTo("9"),equalTo( "10" )));
List<String> moduleNames = new ArrayList<>();
for (Module mod : modules)