File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
plugin-gradle/src/test/java/com/diffplug/gradle/spotless Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -57,17 +57,16 @@ void failureDoesntTriggerAll() throws IOException {
57
57
// check will run against all three the first time.
58
58
checkRanAgainst ("abc" );
59
59
// 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" );
71
70
// apply will simply copy outputs the first time: no formatters executed
72
71
applyRanAgainst ("" );
73
72
// the second time, it will only run on the file that was changed by apply
You can’t perform that action at this time.
0 commit comments