From b3af6d640301bc47807e45c177933cdeab225d11 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 12 May 2021 17:40:33 +0100 Subject: [PATCH] Polish See gh-25798 --- .../plugin/JavaPluginActionIntegrationTests.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/JavaPluginActionIntegrationTests.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/JavaPluginActionIntegrationTests.java index e50abe5abb..b0bca2c9d7 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/JavaPluginActionIntegrationTests.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/plugin/JavaPluginActionIntegrationTests.java @@ -157,14 +157,14 @@ class JavaPluginActionIntegrationTests { @TestTemplate void productionRuntimeClasspathIsConfiguredWithResolvabilityAndConsumabilityThatMatchesRuntimeClasspath() { - String productionRuntime = this.gradleBuild.build("configurationResolvabilityAndConsumability", - "-PconfigurationName=runtimeClasspath", "-PapplyJavaPlugin").getOutput(); - assertThat(productionRuntime).contains("canBeResolved: true"); - assertThat(productionRuntime).contains("canBeConsumed: false"); String runtime = this.gradleBuild.build("configurationResolvabilityAndConsumability", - "-PconfigurationName=productionRuntimeClasspath", "-PapplyJavaPlugin").getOutput(); + "-PconfigurationName=runtimeClasspath", "-PapplyJavaPlugin").getOutput(); assertThat(runtime).contains("canBeResolved: true"); assertThat(runtime).contains("canBeConsumed: false"); + String productionRuntime = this.gradleBuild.build("configurationResolvabilityAndConsumability", + "-PconfigurationName=productionRuntimeClasspath", "-PapplyJavaPlugin").getOutput(); + assertThat(productionRuntime).contains("canBeResolved: true"); + assertThat(productionRuntime).contains("canBeConsumed: false"); } private void createMinimalMainSource() throws IOException {