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 {
checkItems(items)
}
@Test(expectedExceptions = Array(classOf[TribbleException.MalformedFeatureFile]))
def testVCF3TribbleException(): Unit = {}
@Test
def testVCF3TribbleException(): Unit = {
intercept[TribbleException.MalformedFeatureFile] {
new VCFFileReader(vcf3, false)
}
}
@Test(expectedExceptions = Array(classOf[IllegalArgumentException]))
@Test
def testNoCSQTagException() {
csqCheck(new VCFFileReader(unvepped, false).getFileHeader)
intercept[IllegalArgumentException] {
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