Fix testUnkownPlatform (#49235)
* Adjust assertion to include `mac` to fix build tools tests
This commit is contained in:
parent
42268f0b0e
commit
a817cf5e5c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue