Skip to content

Commit 6787b91

Browse files
committed
Merge pull request #16984 from Christoph Dreis
* gh-16984: Fix Gradle plugin code formatting Closes gh-16984
2 parents c802180 + e59d734 commit 6787b91

File tree

1 file changed

+5
-4
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/buildinfo

1 file changed

+5
-4
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/buildinfo/BuildInfoIntegrationTests.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,18 @@ public void notUpToDateWhenExecutedTwiceWithFixedTimeAndChangedProjectVersion()
9696
}
9797

9898
@TestTemplate
99-
public void reproducibleOutputWithFixedTime() throws InvalidRunnerConfigurationException,
100-
UnexpectedBuildFailure, IOException, InterruptedException {
99+
public void reproducibleOutputWithFixedTime()
100+
throws InvalidRunnerConfigurationException, UnexpectedBuildFailure,
101+
IOException, InterruptedException {
101102
assertThat(this.gradleBuild.build("buildInfo", "-PnullTime").task(":buildInfo")
102103
.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
103104
File buildInfoProperties = new File(this.gradleBuild.getProjectDir(),
104105
"build/build-info.properties");
105106
String firstHash = FileUtils.sha1Hash(buildInfoProperties);
106107
assertThat(buildInfoProperties.delete()).isTrue();
107108
Thread.sleep(1500);
108-
assertThat(this.gradleBuild.build("buildInfo", "-PnullTime")
109-
.task(":buildInfo").getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
109+
assertThat(this.gradleBuild.build("buildInfo", "-PnullTime").task(":buildInfo")
110+
.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
110111
String secondHash = FileUtils.sha1Hash(buildInfoProperties);
111112
assertThat(firstHash).isEqualTo(secondHash);
112113
}

0 commit comments

Comments
 (0)