Fixed CmdTest
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline failed

This commit is contained in:
Gregory Ballantine 2023-01-25 13:45:02 -05:00
parent cfb1d09eb7
commit 0c77a7ab04

View File

@ -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"));
}
}