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 {
387387 "}" );
388388 setFile ("biome_test.js" ).toResource ("biome/js/fileBefore.js" );
389389
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" );
392392 assertFile ("biome_test.js" ).sameAsResource ("biome/js/fileBefore.js" );
393393 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) " );
395395 }
396396
397397 /**
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ void unlessEnforceCheckIsFalse() throws Exception {
8686 @ Test
8787 void unlessExemptedByStep () throws Exception {
8888 writeBuild (
89- " ignoreErrorForStep 'no swearing '" ,
89+ " ignoreErrorForStep 'noSwearingStep '" ,
9090 " } // format" ,
9191 "} // spotless" );
9292 setFile ("README.md" ).toContent ("This code is fubar." );
You can’t perform that action at this time.
0 commit comments