Skip to content

Commit a242bd8

Browse files
committed
Merge branch '3.1.x'
Closes gh-38747
2 parents 198dbb4 + af8e6a4 commit a242bd8

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-loader-classic/src/test/java/org/springframework/boot/loader/jar

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-loader-classic/src/test/java/org/springframework/boot/loader/jar/StringSequenceTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ void subSequenceWhenStartPastExistingEndShouldThrowException() {
9292

9393
@Test
9494
void isEmptyWhenEmptyShouldReturnTrue() {
95-
assertThat(new StringSequence("").isEmpty()).isTrue();
95+
assertThat(new StringSequence("")).isEmpty();
9696
}
9797

9898
@Test
9999
void isEmptyWhenNotEmptyShouldReturnFalse() {
100-
assertThat(new StringSequence("x").isEmpty()).isFalse();
100+
assertThat(new StringSequence("x")).isNotEmpty();
101101
}
102102

103103
@Test

0 commit comments

Comments
 (0)