Skip to content

Commit

Permalink
Minor change to test class
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Aug 30, 2023
1 parent 79b2885 commit 0f359fc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ public void testConcurrentDequeue() {
}

private void checkBufferRecyclerPoolImpl(BufferRecyclerPool pool) {
JsonFactory jsonFactory = new JsonFactory().setBufferRecyclerPool(pool);
JsonFactory jsonFactory = JsonFactory.builder()
.bufferRecyclerPool(pool)
.build();
assertEquals(6, write("test", jsonFactory));
}

Expand Down

0 comments on commit 0f359fc

Please sign in to comment.