Commit 1913955a authored by pjvan_thof's avatar pjvan_thof
Browse files

Fixing failing test

parent 1bc4e07b
...@@ -163,12 +163,17 @@ class VepNormalizerTest extends TestNGSuite with MockitoSugar with Matchers { ...@@ -163,12 +163,17 @@ class VepNormalizerTest extends TestNGSuite with MockitoSugar with Matchers {
checkItems(items) checkItems(items)
} }
@Test(expectedExceptions = Array(classOf[TribbleException.MalformedFeatureFile])) @Test
def testVCF3TribbleException(): Unit = {} def testVCF3TribbleException(): Unit = {
intercept[TribbleException.MalformedFeatureFile] {
new VCFFileReader(vcf3, false)
}
}
@Test(expectedExceptions = Array(classOf[IllegalArgumentException])) @Test
def testNoCSQTagException() { def testNoCSQTagException() {
intercept[IllegalArgumentException] {
csqCheck(new VCFFileReader(unvepped, false).getFileHeader) csqCheck(new VCFFileReader(unvepped, false).getFileHeader)
} }
}
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment