From a817cf5e5c59b2d8ea3eb1632f3b722f4be9887b Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Mon, 18 Nov 2019 13:02:20 +0100 Subject: [PATCH] Fix testUnkownPlatform (#49235) * Adjust assertion to include `mac` to fix build tools tests --- .../java/org/elasticsearch/gradle/JdkDownloadPluginTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/test/java/org/elasticsearch/gradle/JdkDownloadPluginTests.java b/buildSrc/src/test/java/org/elasticsearch/gradle/JdkDownloadPluginTests.java index e3206e90a9f..b8918096340 100644 --- a/buildSrc/src/test/java/org/elasticsearch/gradle/JdkDownloadPluginTests.java +++ b/buildSrc/src/test/java/org/elasticsearch/gradle/JdkDownloadPluginTests.java @@ -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) {