File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
plugin-gradle/src/test/java/com/diffplug/gradle/spotless Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -387,11 +387,11 @@ void failureWhenNotParseable() throws Exception {
387
387
"}" );
388
388
setFile ("biome_test.js" ).toResource ("biome/js/fileBefore.js" );
389
389
390
- var spotlessApply = gradleRunner ().withArguments ("--stacktrace" , " spotlessApply" ).buildAndFail ();
391
- assertThat (spotlessApply .getOutput ()).contains ("spotlessMybiome FAILED" );
390
+ var spotlessApply = gradleRunner ().withArguments ("spotlessApply" ).buildAndFail ();
391
+ assertThat (spotlessApply .getOutput ()).contains ("spotlessMybiomeApply FAILED" );
392
392
assertFile ("biome_test.js" ).sameAsResource ("biome/js/fileBefore.js" );
393
393
assertThat (spotlessApply .getOutput ()).contains ("Format with errors is disabled." );
394
- assertThat (spotlessApply .getOutput ()).contains ("Step 'biome' found problem in ' biome_test.js' " );
394
+ assertThat (spotlessApply .getOutput ()).contains ("biome_test.js:LINE_UNDEFINED biome(java.lang.RuntimeException) " );
395
395
}
396
396
397
397
/**
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ void unlessEnforceCheckIsFalse() throws Exception {
86
86
@ Test
87
87
void unlessExemptedByStep () throws Exception {
88
88
writeBuild (
89
- " ignoreErrorForStep 'no swearing '" ,
89
+ " ignoreErrorForStep 'noSwearingStep '" ,
90
90
" } // format" ,
91
91
"} // spotless" );
92
92
setFile ("README.md" ).toContent ("This code is fubar." );
You can’t perform that action at this time.
0 commit comments