Skip to content

Commit 64b3020

Browse files
committed
Polish "Change Spring Boot CLI init command docs default build system to gradle"
See gh-40603
1 parent 1a786fc commit 64b3020

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/init

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/init/InitCommandTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ void overwriteFileInArchive(@TempDir File tempDir) throws Exception {
344344
void parseTypeOnly() throws Exception {
345345
this.handler.disableProjectGeneration();
346346
this.command.run("-t=ant-project");
347-
assertThat(this.handler.lastRequest.getBuild()).isEqualTo("maven");
347+
assertThat(this.handler.lastRequest.getBuild()).isEqualTo("gradle");
348348
assertThat(this.handler.lastRequest.getFormat()).isEqualTo("project");
349349
assertThat(this.handler.lastRequest.isDetectType()).isFalse();
350350
assertThat(this.handler.lastRequest.getType()).isEqualTo("ant-project");
@@ -364,7 +364,7 @@ void parseBuildOnly() throws Exception {
364364
void parseFormatOnly() throws Exception {
365365
this.handler.disableProjectGeneration();
366366
this.command.run("--format=web");
367-
assertThat(this.handler.lastRequest.getBuild()).isEqualTo("maven");
367+
assertThat(this.handler.lastRequest.getBuild()).isEqualTo("gradle");
368368
assertThat(this.handler.lastRequest.getFormat()).isEqualTo("web");
369369
assertThat(this.handler.lastRequest.isDetectType()).isTrue();
370370
assertThat(this.handler.lastRequest.getType()).isNull();

0 commit comments

Comments
 (0)