mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 08:39:12 +00:00
[BUGFIX] Added validate to create required directories
This commit is contained in:
@@ -14,6 +14,8 @@ public class CacheValidationTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test() throws IOException {
|
public void test() throws IOException {
|
||||||
|
Directories.validate();
|
||||||
|
|
||||||
File fileOne = new File(Directories.getCachePath(), "should-exist.tmp");
|
File fileOne = new File(Directories.getCachePath(), "should-exist.tmp");
|
||||||
File fileTwo = new File(Directories.getCachePath(), "should-not-exist.tmp");
|
File fileTwo = new File(Directories.getCachePath(), "should-not-exist.tmp");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user