diff --git a/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt b/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt index caff58f3d2..d1da352d9e 100644 --- a/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt +++ b/spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt @@ -52,7 +52,7 @@ class SpringApplicationExtensionsTests { val context = runApplication("--debug", "spring", "boot") val args = context.getBean() assertThat(args.nonOptionArgs.toTypedArray()).containsExactly("spring", "boot") - assertThat(args.containsOption("debug")).isTrue + assertThat(args.containsOption("debug")).isEqualTo(true) } @Test @@ -63,7 +63,7 @@ class SpringApplicationExtensionsTests { } val args = context.getBean() assertThat(args.nonOptionArgs.toTypedArray()).containsExactly("spring", "boot") - assertThat(args.containsOption("debug")).isTrue + assertThat(args.containsOption("debug")).isEqualTo(true) assertThat(environment).isEqualTo(context.environment) }