Commit dca18c6a authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added deleteOnExit

parent ed78055e
......@@ -14,6 +14,7 @@ class GensToVcfTest extends TestNGSuite with Matchers {
@Test
def testGensOnly: Unit = {
val output = File.createTempFile("test.", ".vcf.gz")
output.deleteOnExit()
GensToVcf.main(Array(
"--inputGenotypes", GensToVcfTest.resourcePath("/test.gens"),
"--outputVcf", output.getAbsolutePath,
......@@ -26,6 +27,7 @@ class GensToVcfTest extends TestNGSuite with Matchers {
@Test
def testGensInfo: Unit = {
val output = File.createTempFile("test.", ".vcf")
output.deleteOnExit()
GensToVcf.main(Array(
"--inputGenotypes", GensToVcfTest.resourcePath("/test.gens"),
"--inputInfo", GensToVcfTest.resourcePath("/test.gens_info"),
......
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