Skip to content

Commit

Permalink
Merge pull request #146 from danielkec/145-wrong-assertion
Browse files Browse the repository at this point in the history
Wrong assertion, test data starts with 0 #145
  • Loading branch information
cescoffier authored Mar 30, 2022
2 parents 54dc6ee + c769d04 commit 5c397c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
* Copyright (c) 2020, 2022 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
Expand Down Expand Up @@ -47,7 +47,7 @@ public void testOverflow() throws InterruptedException {
// Assert all items either accepted or rejected
assertThat(bean.accepted().size() + bean.rejected().size()).isEqualTo(10);
// At least the first item should have been accepted
assertThat(bean.accepted()).contains("1");
assertThat(bean.accepted()).contains("0");
// But not everything should have been accepted
assertThat(bean.rejected()).isNotEmpty();

Expand Down

0 comments on commit 5c397c8

Please sign in to comment.