Skip to content

Commit 1d19ee8

Browse files
Edit tests to catch the previously fixed bug
1 parent ba6aace commit 1d19ee8

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/integration_tests.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ fn argparse() -> Result {
1818
run_command(vec!["profile", "help"], None)
1919
}
2020

21-
#[test]
22-
fn create_config_file_when_none() {
23-
// This should create a config file and then fail because there are no profiles
24-
assert!(run_command(vec!["profile", "list"], None).is_err());
25-
}
26-
2721
#[test]
2822
fn create_profile() -> Result {
2923
run_command(
@@ -39,7 +33,8 @@ fn create_profile() -> Result {
3933
"--output-dir",
4034
&output_dir(),
4135
],
42-
Some("empty"),
36+
// This also tests that the config file is automatically created
37+
None,
4338
)
4439
}
4540

0 commit comments

Comments
 (0)