Skip to content

Commit

Permalink
Drop an incorrect one
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Jan 13, 2025
1 parent 4ea0e08 commit 5aa0832
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ void before(EnumerableAssert<?, E> enumAssert) {

@BeforeTemplate
void before(AbstractIterableAssert<?, ?, E, ?> enumAssert) {
Refaster.anyOf(
enumAssert.size().isNotPositive(), enumAssert.size().isNotPositive().returnToIterable());
enumAssert.size().isNotPositive();
}

@AfterTemplate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ void testEnumerableAssertIsEmpty() {
assertThat(ImmutableSet.of(2)).hasSizeLessThanOrEqualTo(0);
assertThat(ImmutableSet.of(3)).hasSizeLessThan(1);
assertThat(ImmutableSet.of(4)).size().isNotPositive();
assertThat(ImmutableSet.of(5)).size().isNotPositive().returnToIterable();
}

ImmutableSet<AbstractAssert<?, ?>> testEnumerableAssertIsNotEmpty() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ void testEnumerableAssertIsEmpty() {
assertThat(ImmutableSet.of(2)).isEmpty();
assertThat(ImmutableSet.of(3)).isEmpty();
assertThat(ImmutableSet.of(4)).isEmpty();
assertThat(ImmutableSet.of(5)).isEmpty();
}

ImmutableSet<AbstractAssert<?, ?>> testEnumerableAssertIsNotEmpty() {
Expand Down

0 comments on commit 5aa0832

Please sign in to comment.