From 61987f685b593ee9c7d85da5f09ad8710d8d528e Mon Sep 17 00:00:00 2001 From: Chris Norman Date: Mon, 7 Nov 2022 10:55:56 -0500 Subject: [PATCH] Fix HtsCRAMCodec test data provider. --- .../reads/cram/HtsCRAMCodec30And21QueryTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/htsjdk/beta/codecs/reads/cram/HtsCRAMCodec30And21QueryTest.java b/src/test/java/htsjdk/beta/codecs/reads/cram/HtsCRAMCodec30And21QueryTest.java index e66bd73631..499e93d5a1 100644 --- a/src/test/java/htsjdk/beta/codecs/reads/cram/HtsCRAMCodec30And21QueryTest.java +++ b/src/test/java/htsjdk/beta/codecs/reads/cram/HtsCRAMCodec30And21QueryTest.java @@ -586,18 +586,18 @@ public void testQueryUnmapped( public Object[][] alignmentStartQueries() { return new Object[][] { // cram file, reference, query contig, alignment start query, number of reads with matching alignment start - {cramQueryWithCRAI, cramQueryReference, "20", 100013, 2}, - {cramQueryWithLocalCRAI, cramQueryReference, "20", 100013, 2}, - {cramQueryWithBAI, cramQueryReference, "20", 100013, 2}, + {cramQueryWithCRAI, cramQueryReference, "20", 100013L, 2}, + {cramQueryWithLocalCRAI, cramQueryReference, "20", 100013L, 2}, + {cramQueryWithBAI, cramQueryReference, "20", 100013L, 2}, // tests to ensure that query results on inputs that have matching reads that are followed by reads // in the same container that don't match the alignment start are properly constrained to only the // matching reads {new HtsPath(TEST_DATA_DIR + "mitoAlignmentStartTest.cram"), new HtsPath(TEST_DATA_DIR + "mitoAlignmentStartTest.fa"), - "Mito", 631, 24}, + "Mito", 631L, 24}, {new HtsPath(TEST_DATA_DIR + "mitoAlignmentStartTestGATKGen.cram"), new HtsPath(TEST_DATA_DIR + "mitoAlignmentStartTest.fa"), - "Mito", 631, 24}, + "Mito", 631L, 24}, }; }