samtools / htsjdk

A Java API for high-throughput sequencing data (HTS) formats.
http://samtools.github.io/htsjdk/
278 stars 244 forks source link

The last-but-one argument of test testQueryAlignmentStart in HtsCRAMCodec30And21QueryTest.java is long #1631

Closed pgrt closed 1 year ago

pgrt commented 1 year ago

Hello,

In the test file HtsCRAMCodec30And21QueryTest.java, the last-but-one argument of testQueryAlignmentStart is long but the alignmentStartQueries data provider returns an int instead, leading to test failures on my side.

The attached patch provides a straightforward fix.

data-types-in-tests.txt

Cheers,

Pierre

cmnbroad commented 1 year ago

@pgrt Yes, thanks for reporting this!