Skip to content

Commit 2cc19d5

Browse files
committed
Fixing unit test.
1 parent 601adf4 commit 2cc19d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/src/test/java/org/microbule/util/collection/RoundRobinTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void testWithEmptyList() {
1919

2020
@Test
2121
public void testWithNullList() {
22-
RoundRobin<String> balancer = new RoundRobin<>(new LinkedList<>());
22+
RoundRobin<String> balancer = new RoundRobin<>(null);
2323
assertNull(balancer.nextItem());
2424
}
2525

0 commit comments

Comments
 (0)