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