Fix duplicated batch buffer test.

Two tests had the same code when the were
supposed to test different state.

PiperOrigin-RevId: 311149216
This commit is contained in:
krocard 2020-05-12 18:09:31 +01:00 committed by Oliver Woodman
parent 66fd81401b
commit 9197c9c9a0

View File

@ -175,7 +175,7 @@ public final class BatchBufferTest {
@Test
public void batchWasConsumed_whenNotEmpty_isEmpty() {
fillBatchBuffer(batchBuffer);
batchBuffer.commitNextAccessUnit();
batchBuffer.batchWasConsumed();