Use idiomatic AssertJ assertions
See gh-38702
This commit is contained in:
committed by
Moritz Halbritter
parent
39bc7c8582
commit
3c65fdfa12
@@ -92,12 +92,12 @@ class StringSequenceTests {
|
||||
|
||||
@Test
|
||||
void isEmptyWhenEmptyShouldReturnTrue() {
|
||||
assertThat(new StringSequence("").isEmpty()).isTrue();
|
||||
assertThat(new StringSequence("")).isEmpty();
|
||||
}
|
||||
|
||||
@Test
|
||||
void isEmptyWhenNotEmptyShouldReturnFalse() {
|
||||
assertThat(new StringSequence("x").isEmpty()).isFalse();
|
||||
assertThat(new StringSequence("x")).isNotEmpty();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user