We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcab8bc commit 1b1f8aeCopy full SHA for 1b1f8ae
1 file changed
src/test/java/commands/MkdirTest.java
@@ -25,7 +25,6 @@ public void setUp() throws Exception {
25
26
@After
27
public void tearDown() throws Exception {
28
- FileSystem.createFileSystemInstance();
29
}
30
31
@Test
@@ -46,9 +45,8 @@ public void testExecuteCommandNewDir() {
46
45
String output = commandExecutor.executeCommand(shellState, "mkdir test");
47
FileSystem fileSystem = shellState.getFileSystem();
48
Directory newDir = fileSystem.getDirectoryByPath(fileSystem.getRoot(), "test");
49
- assertNotNull(newDir);
50
} catch (Exception e) {
51
- e.printStackTrace();
+ fail("Could not retrieve new directory using getDirectoryByPath");
52
53
54
0 commit comments