Fix testUnkownPlatform (#49235)

* Adjust assertion to include `mac` to fix build tools tests
This commit is contained in:
Armin Braun 2019-11-18 13:02:20 +01:00
parent 42268f0b0e
commit a817cf5e5c
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class JdkDownloadPluginTests extends GradleUnitTestCase {
public void testUnknownPlatform() {
assertJdkError(createProject(), "testjdk", "openjdk", "11.0.2+33", "unknown",
"unknown platform [unknown] for jdk [testjdk], must be one of [darwin, linux, windows]");
"unknown platform [unknown] for jdk [testjdk], must be one of [darwin, linux, windows, mac]");
}
private void assertJdkError(Project project, String name, String vendor, String version, String platform, String message) {