Fix the CachingIndexedFastaSequenceFileUnitTest
BaseUtils.convertIUPACtoN() no longer throws a UserException, since it's in org.broadinstitute.variant
This commit is contained in:
parent
29fd536c28
commit
6449c320b4
|
|
@ -252,7 +252,7 @@ public class CachingIndexedFastaSequenceFileUnitTest extends BaseTest {
|
||||||
Assert.assertEquals(changingNs, preservingNs + 4);
|
Assert.assertEquals(changingNs, preservingNs + 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(enabled = true, expectedExceptions = {UserException.class})
|
@Test(enabled = true, expectedExceptions = {IllegalStateException.class})
|
||||||
public void testFailOnBadBase() throws FileNotFoundException, InterruptedException {
|
public void testFailOnBadBase() throws FileNotFoundException, InterruptedException {
|
||||||
final String testFasta = privateTestDir + "problematicFASTA.fasta";
|
final String testFasta = privateTestDir + "problematicFASTA.fasta";
|
||||||
final CachingIndexedFastaSequenceFile fasta = new CachingIndexedFastaSequenceFile(new File(testFasta));
|
final CachingIndexedFastaSequenceFile fasta = new CachingIndexedFastaSequenceFile(new File(testFasta));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue