diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools-common/src/test/java/org/onap/policy/apex/tools/common/OutputFileTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/tools-common/src/test/java/org/onap/policy/apex/tools/common/OutputFileTest.java b/tools/tools-common/src/test/java/org/onap/policy/apex/tools/common/OutputFileTest.java index decbb4395..b8364c2ec 100644 --- a/tools/tools-common/src/test/java/org/onap/policy/apex/tools/common/OutputFileTest.java +++ b/tools/tools-common/src/test/java/org/onap/policy/apex/tools/common/OutputFileTest.java @@ -23,7 +23,6 @@ package org.onap.policy.apex.tools.common; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; -import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.File; import java.nio.file.FileSystems; @@ -41,7 +40,7 @@ class OutputFileTest { @BeforeEach void beforeSetUp() { if (file.exists()) { - assertTrue(file.delete()); + file.delete(); } } @@ -80,7 +79,7 @@ class OutputFileTest { @AfterEach void testDown() { if (file.exists()) { - assertTrue(file.delete()); + file.delete(); } } } |