Skip to content

Commit 99a32ff

Browse files
committed
Fix an oversight in NativeCmdIntegrationTest.
1 parent 7dbf081 commit 99a32ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/NativeCmdIntegrationTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 DiffPlug
2+
* Copyright 2024-2025 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -51,8 +51,8 @@ class NativeCmdWithoutConfigCacheTest extends GradleIntegrationHarness implement
5151
class NativeCmdWithConfigCacheTest extends GradleIntegrationHarness implements NativeCmdIntegrationTest {
5252
@Override
5353
public GradleRunner gradleRunner() throws IOException {
54-
setFile("gradle.properties").toContent("org.gradle.unsafe.configuration-cache=true");
55-
setFile("gradle.properties").toContent("org.gradle.configuration-cache=true");
54+
setFile("gradle.properties").toLines("org.gradle.unsafe.configuration-cache=true",
55+
"org.gradle.configuration-cache=true");
5656
return super.gradleRunner().withGradleVersion(GradleVersionSupport.CONFIGURATION_CACHE.version);
5757
}
5858
}

0 commit comments

Comments
 (0)