Skip to content

Commit

Permalink
Comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amaembo committed Sep 6, 2020
1 parent 3a7a4f2 commit 1c1813d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/one/util/streamex/api/EntryStreamTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ private static Map<String, Integer> createMap() {

@Test
public void testCreate() {
// double test is intended to caugh the bug in `EntryStream.emtpy()` related to sharing object
// double test is intended to ensure that EntryStream.empty() returns non-shared object
// and can be consumed several times.
assertEquals(0, EntryStream.empty().count());
assertEquals(0, EntryStream.empty().count());

Expand Down

0 comments on commit 1c1813d

Please sign in to comment.