We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6aace commit 1d19ee8Copy full SHA for 1d19ee8
tests/integration_tests.rs
@@ -18,12 +18,6 @@ fn argparse() -> Result {
18
run_command(vec!["profile", "help"], None)
19
}
20
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
-
27
#[test]
28
fn create_profile() -> Result {
29
run_command(
@@ -39,7 +33,8 @@ fn create_profile() -> Result {
39
33
"--output-dir",
40
34
&output_dir(),
41
35
],
42
- Some("empty"),
36
+ // This also tests that the config file is automatically created
37
+ None,
43
38
)
44
45
0 commit comments