Skip to content

Commit

Permalink
Bug 581932 ArrayIndexOutOfBoundsException in ArrayIntCompressed
Browse files Browse the repository at this point in the history
on beforePass2 parsing

Fix test case bug

Change-Id: I85e5f2cafae8d7ba4bc946f6c71d3dfc1281c1f6
  • Loading branch information
ajohnson1 committed May 26, 2023
1 parent 5465107 commit e592bfd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
package org.eclipse.mat.tests.collect;

import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.number.OrderingComparison.lessThanOrEqualTo;
import static org.junit.Assert.assertEquals;
Expand Down Expand Up @@ -1533,7 +1532,7 @@ private void verifyEmpty(Map<K, V> subject)
for (V value : values)
assertFalse(subject.containsValue(value));
for (K key : keys)
assertThat(subject.remove(key), equalTo(nullValue()));
assertThat(subject.remove(key), equalTo(null));
}

private byte[] serialize(Map<K, V> subject) throws IOException
Expand Down

0 comments on commit e592bfd

Please sign in to comment.