File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
plugin-gradle/src/test/java/com/diffplug/gradle/spotless Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public BuildServiceParameters.None getParameters() {
49
49
}
50
50
});
51
51
File file ;
52
- File cleanFile ;
52
+ File outputFile ;
53
53
SpotlessTaskImpl source ;
54
54
SpotlessCheck check ;
55
55
SpotlessApply apply ;
@@ -61,7 +61,7 @@ public BuildServiceParameters.None getParameters() {
61
61
source = createFormatTask (name , step );
62
62
check = createCheckTask (name , source );
63
63
apply = createApplyTask (name , source );
64
- cleanFile = new File (source .getCleanDirectory () + "/src" , file .getName ());
64
+ outputFile = new File (source .getCleanDirectory () + "/src" , file .getName ());
65
65
}
66
66
67
67
private SpotlessTaskImpl createFormatTask (String name , FormatterStep step ) {
@@ -143,10 +143,10 @@ void paddedCellFormat() throws Exception {
143
143
converge .format ();
144
144
diverge .format ();
145
145
146
- assertFile (wellbehaved .cleanFile ).hasContent ("42" ); // cycle -> first element in cycle
147
- assertFile (cycle .cleanFile ).hasContent ("A" ); // cycle -> first element in cycle
148
- assertFile (converge .cleanFile ).hasContent ("" ); // converge -> converges
149
- assertThat (diverge .cleanFile ).doesNotExist (); // diverge -> no change
146
+ assertFile (wellbehaved .outputFile ).hasContent ("42" ); // cycle -> first element in cycle
147
+ assertFile (cycle .outputFile ).hasContent ("A" ); // cycle -> first element in cycle
148
+ assertFile (converge .outputFile ).hasContent ("" ); // converge -> converges
149
+ assertThat (diverge .outputFile ).doesNotExist (); // diverge -> no change
150
150
}
151
151
152
152
@ Test
You can’t perform that action at this time.
0 commit comments