style(tests): Fixed issues reported by clippy
This commit is contained in:
parent
0003072623
commit
b9c6b326b7
|
@ -12,7 +12,7 @@ fn base_mdbook_init_can_skip_confirmation_prompts() {
|
||||||
assert!(!temp.path().join("book").exists());
|
assert!(!temp.path().join("book").exists());
|
||||||
|
|
||||||
let mut cmd = mdbook_cmd();
|
let mut cmd = mdbook_cmd();
|
||||||
cmd.args(&["init", "--force"]).current_dir(temp.path());
|
cmd.args(["init", "--force"]).current_dir(temp.path());
|
||||||
cmd.assert()
|
cmd.assert()
|
||||||
.success()
|
.success()
|
||||||
.stdout(predicates::str::contains("\nAll done, no errors...\n"));
|
.stdout(predicates::str::contains("\nAll done, no errors...\n"));
|
||||||
|
|
Loading…
Reference in New Issue