Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lindenb committed Oct 29, 2024
1 parent 5bd0287 commit e4ca170
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void testWriteAndReadVCFHeaderless(final String extension) throws IOExcep
try (BlockCompressedInputStream bcis = new BlockCompressedInputStream(fakeVCFFile);
FileInputStream fis = new FileInputStream(fakeVCFFile)) {
AsciiLineReaderIterator iterator =
new AsciiLineReaderIterator(new AsciiLineReader(".vcf.gz".equals(extension) ? bcis : fis));
new AsciiLineReaderIterator(new AsciiLineReader(FileExtensions.COMPRESSED_VCF.equals(extension) || FileExtensions.COMPRESSED_VCF_BGZ.equals(extension) ? bcis : fis));
int counter = 0;
while (iterator.hasNext()) {
VariantContext context = codec.decode(iterator.next());
Expand Down

0 comments on commit e4ca170

Please sign in to comment.