Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalker174 committed May 7, 2021
1 parent 970497a commit 75dd534
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import org.broadinstitute.hellbender.tools.spark.sv.utils.GATKSVVCFConstants;
import org.broadinstitute.hellbender.tools.sv.SVCallRecord;
import org.broadinstitute.hellbender.tools.sv.SVTestUtils;
import org.broadinstitute.hellbender.utils.variant.VariantContextGetters;
import org.testng.Assert;
import org.testng.TestException;
import org.testng.annotations.BeforeTest;
Expand Down Expand Up @@ -367,7 +368,8 @@ public void testAddMaxCliqueLarge() {
Assert.assertEquals(result.size(), 50);
for (final SVCallRecord resultRecord : result) {
Assert.assertTrue(resultRecord.getAttributes().containsKey(GATKSVVCFConstants.CLUSTER_MEMBER_IDS_KEY));
Assert.assertEquals(((List<Integer>) resultRecord.getAttributes().get(GATKSVVCFConstants.CLUSTER_MEMBER_IDS_KEY)).size(), 51);
final int numMembers = VariantContextGetters.attributeToList(resultRecord.getAttributes().get(GATKSVVCFConstants.CLUSTER_MEMBER_IDS_KEY)).size();
Assert.assertEquals(numMembers, 51);
}
}

Expand Down

0 comments on commit 75dd534

Please sign in to comment.