Skip to content

Commit c18a511

Browse files
committed
Enhanced test to demonstrate problem of the paddedCell implementation. After 'apply', the 'check' should not fail, but it does.
1 parent 81c5461 commit c18a511

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ public void paddedCellApply() throws IOException {
124124
assertFileContent("A", cycle.file); // cycle -> first element in cycle
125125
assertFileContent("", converge.file); // converge -> converges
126126
assertFileContent("CCC", diverge.file); // diverge -> no change
127+
128+
cycle.check.execute();
129+
converge.check.execute();
130+
diverge.check.execute();
127131
}
128132

129133
@Test

0 commit comments

Comments
 (0)