Browse Source

refactor storage test for windows systems

feature-add-storage-class
binsky 3 years ago
parent
commit
c652890b04
  1. 4
      src/test/java/StorageTest.java

4
src/test/java/StorageTest.java

@ -14,6 +14,10 @@ class StorageTest {
@BeforeAll @BeforeAll
static void init() { static void init() {
storage = new Storage(); storage = new Storage();
if (System.getProperty("os.name").toLowerCase().contains("win")) {
testFilePath = "C:\\test.txt";
}
} }
@AfterAll @AfterAll

Loading…
Cancel
Save