Commit 4fa9758a authored by Peter van 't Hof's avatar Peter van 't Hof

Changed to smaller and readable test

parent d44f4f5d
......@@ -39,9 +39,7 @@ class DownloadGenomesTest extends TestNGSuite with Matchers {
def testNoFastaUri(): Unit = {
val pipeline = initPipeline(Map())
pipeline.referenceConfig = Map("s1" -> Map("g1" -> Map("" -> "")))
intercept[IllegalArgumentException] {
pipeline.script()
}
an[IllegalArgumentException] should be thrownBy pipeline.script()
}
@Test
......
Markdown is supported
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