Skip to content

Commit 4af94ec

Browse files
committed
Another small fix.
1 parent c8d13b1 commit 4af94ec

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

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

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,16 @@ void failureDoesntTriggerAll() throws IOException {
5757
// check will run against all three the first time.
5858
checkRanAgainst("abc");
5959
// Subsequent runs will use the cached error message
60-
checkRanAgainstNoneButError().contains("Caused by: org.gradle.api.GradleException: The following files had format violations:\n" +
61-
" b.md\n" +
62-
" @@ -1 +1 @@\n" +
63-
" -B\n" +
64-
" +b");
65-
checkRanAgainstNoneButError().contains("Caused by: org.gradle.api.GradleException: The following files had format violations:\n" +
66-
" b.md\n" +
67-
" @@ -1 +1 @@\n" +
68-
" -B\n" +
69-
" +b");
70-
60+
checkRanAgainstNoneButError().contains("> The following files had format violations:\n" +
61+
" b.md\n" +
62+
" @@ -1 +1 @@\n" +
63+
" -B\n" +
64+
" +b");
65+
checkRanAgainstNoneButError().contains("> The following files had format violations:\n" +
66+
" b.md\n" +
67+
" @@ -1 +1 @@\n" +
68+
" -B\n" +
69+
" +b");
7170
// apply will simply copy outputs the first time: no formatters executed
7271
applyRanAgainst("");
7372
// the second time, it will only run on the file that was changed by apply

0 commit comments

Comments
 (0)