mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Merge branch '2.3.x'
This commit is contained in:
commit
b7d020d3c2
@ -73,13 +73,13 @@ class RunningDocumentationTests {
|
||||
|
||||
@TestTemplate
|
||||
void bootRunSystemPropertyDefaultValue() throws IOException {
|
||||
assertThat(this.gradleBuild.script("src/main/gradle/running/boot-run-system-property")
|
||||
assertThat(this.gradleBuild.script("src/docs/gradle/running/boot-run-system-property")
|
||||
.build("configuredSystemProperties").getOutput()).contains("com.example.property = default");
|
||||
}
|
||||
|
||||
@TestTemplate
|
||||
void bootRunSystemPropetry() throws IOException {
|
||||
assertThat(this.gradleBuild.script("src/main/gradle/running/boot-run-system-property")
|
||||
assertThat(this.gradleBuild.script("src/docs/gradle/running/boot-run-system-property")
|
||||
.build("-Pexample=custom", "configuredSystemProperties").getOutput())
|
||||
.contains("com.example.property = custom");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user