Merge pull request #6172 from FDPro/bael-2531
dupirefr/dupire.francois+pro@gmail.com [REORG-2531] Updated a test to illustrate use of File.separator
This commit is contained in:
commit
3c7480d0ba
|
@ -62,7 +62,7 @@ public class NewDirectoryUnitTest {
|
|||
|
||||
@Test
|
||||
public void givenUnexistingNestedDirectories_whenMkdirs_thenTrue() {
|
||||
File newDirectory = new File(TEMP_DIRECTORY, "new_directory");
|
||||
File newDirectory = new File(System.getProperty("java.io.tmpdir") + File.separator + "new_directory");
|
||||
File nestedDirectory = new File(newDirectory, "nested_directory");
|
||||
assertFalse(newDirectory.exists());
|
||||
assertFalse(nestedDirectory.exists());
|
||||
|
|
Loading…
Reference in New Issue