Skip to content

Commit 3bfd65f

Browse files
author
Andrei C
committed
Fixed test affecting flots()
1 parent c25f4bd commit 3bfd65f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/net/andreinc/mockneat/unit/types/FloatsTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ public void testNextFloatNaNNotBound() throws Exception {
6868
@Test(expected = NullPointerException.class)
6969
public void nextFloat_NullNotBound() throws Exception {
7070
Float bound = null;
71-
Long count = stream(Constants.MOCKS).map(r -> r.floats().bound(bound).val()).count();
72-
assertNotNull(count);
71+
Constants.M.floats().bound(bound).val();
7372
}
7473

7574
@Test

0 commit comments

Comments
 (0)