Skip to content

Commit b4f123a

Browse files
committed
Clean-up merge relics
1 parent 8f6aca9 commit b4f123a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/test/groovy/nu/studer/gradle/rocker/BaseFuncTest.groovy

+2-10
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,18 @@ abstract class BaseFuncTest extends Specification {
3737
void setup() {
3838
workspaceDir = new File(tempDir.root, testName.methodName)
3939
gradleVersion = determineGradleVersion()
40-
settingsFile << """
41-
rootProject.name = 'test-project'
42-
"""
4340
}
4441

4542
protected BuildResult runWithArguments(String... args) {
46-
assertNoDeprecatedBuildResult(GradleRunner.create()
43+
GradleRunner.create()
4744
.withPluginClasspath()
4845
.withTestKitDir(testKitDir)
4946
.withProjectDir(workspaceDir)
5047
.withArguments(args)
5148
.withGradleVersion(gradleVersion.version)
5249
.withDebug(isDebuggerAttached())
5350
.forwardOutput()
54-
.build())
55-
}
56-
57-
BuildResult assertNoDeprecatedBuildResult(BuildResult buildResult) {
58-
assert !buildResult.output.contains("Deprecated Gradle features were used in this build")
59-
buildResult
51+
.build()
6052
}
6153

6254
protected File getBuildFile() {

0 commit comments

Comments
 (0)