Skip to content

Commit 9ac74d3

Browse files
committed
Fix isolated project tests
1 parent 5299998 commit 9ac74d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,6 @@ void predeclaredRequiresNonIsolatedProjects() throws IOException {
185185
"}");
186186
createNSubprojects();
187187
Assertions.assertThat(gradleRunner().withArguments("spotlessApply").buildAndFail().getOutput())
188-
.contains("Cannot access project");
188+
.containsAnyOf("Cannot access project", "cannot access 'Project.tasks'");
189189
}
190190
}

0 commit comments

Comments
 (0)