Fixed CmdTest
This commit is contained in:
parent
cfb1d09eb7
commit
0c77a7ab04
@ -9,9 +9,9 @@ import org.apache.commons.cli.ParseException;
|
|||||||
public class CmdTest {
|
public class CmdTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void shouldDefaultToEtc() throws ParseException {
|
public void shouldDefaultToHome() throws ParseException {
|
||||||
Cmd cmd = new Cmd(new String[]{});
|
Cmd cmd = new Cmd(new String[]{});
|
||||||
assertTrue(cmd.getConfigPath().equals("/etc/dragoon/config.toml"));
|
assertTrue(cmd.getConfigPath().equals("~/.config/dragoon.toml"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user