From f39cea3e03aa76ab2ca08e7e05bb244277439d1d Mon Sep 17 00:00:00 2001 From: Ceriel Jacobs Date: Tue, 27 Aug 2019 16:59:29 +0200 Subject: [PATCH] Remove temp file --- src/vlog/java/karmaresearch/vlog/Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vlog/java/karmaresearch/vlog/Test.java b/src/vlog/java/karmaresearch/vlog/Test.java index fdd6243a..2b4053b4 100644 --- a/src/vlog/java/karmaresearch/vlog/Test.java +++ b/src/vlog/java/karmaresearch/vlog/Test.java @@ -100,10 +100,10 @@ static void runTest() throws Exception { vlog.writeQueryResultsToCsv( new Atom("p3", q1.toArray(new Term[q1.size()])), "blabla"); System.err.println("vlog should have thrown an exception"); - Files.delete(Paths.get("blabla")); } catch (NonExistingPredicateException e) { // OK } + Files.delete(Paths.get("blabla")); vlog = new VLog(); vlog.start("", false);