Skip to content

Commit

Permalink
Run spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
STAR-ZERO committed Mar 11, 2023
1 parent 40f1e8b commit 40488be
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,13 +286,13 @@ void should_update_license_containing_filename_token() throws Exception {
void should_apply_license_containing_YEAR_filename_token() throws Exception {
FormatterStep step = LicenseHeaderStep.headerDelimiter(header(HEADER_WITH_$YEAR_$FILE), package_).build();
StepHarnessWithFile.forStep(this, step)
.test(
new File("Test.java"),
getTestResource(FILE_NO_LICENSE),
hasHeaderYearFileName(HEADER_WITH_$YEAR_$FILE, currentYear(), "Test.java"))
.testUnaffected(
new File("Test.java"),
hasHeaderYearFileName(HEADER_WITH_$YEAR_$FILE, currentYear(), "Test.java"));
.test(
new File("Test.java"),
getTestResource(FILE_NO_LICENSE),
hasHeaderYearFileName(HEADER_WITH_$YEAR_$FILE, currentYear(), "Test.java"))
.testUnaffected(
new File("Test.java"),
hasHeaderYearFileName(HEADER_WITH_$YEAR_$FILE, currentYear(), "Test.java"));
}

void noPackage() throws Throwable {
Expand Down

0 comments on commit 40488be

Please sign in to comment.