Change log messages to use singular or plural instead of "noun(s)"

See gh-37017
This commit is contained in:
teacmity
2023-08-17 12:52:15 +00:00
committed by Andy Wilkinson
parent ef59326b44
commit c6c7fbc15f
6 changed files with 19 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ class RunIntegrationTests {
@TestTemplate
void whenTheRunGoalIsExecutedTheApplicationIsForkedWithOptimizedJvmArguments(MavenBuild mavenBuild) {
mavenBuild.project("run").goals("spring-boot:run", "-X").execute((project) -> {
String jvmArguments = "JVM argument(s): -XX:TieredStopAtLevel=1";
String jvmArguments = "JVM argument: -XX:TieredStopAtLevel=1";
assertThat(buildLog(project)).contains("I haz been run").contains(jvmArguments);
});
}