style(tests): Fixed issues reported by clippy

This commit is contained in:
Sean Poulter 2023-04-03 08:36:57 -04:00
parent 0003072623
commit b9c6b326b7
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ fn base_mdbook_init_can_skip_confirmation_prompts() {
assert!(!temp.path().join("book").exists());
let mut cmd = mdbook_cmd();
cmd.args(&["init", "--force"]).current_dir(temp.path());
cmd.args(["init", "--force"]).current_dir(temp.path());
cmd.assert()
.success()
.stdout(predicates::str::contains("\nAll done, no errors...\n"));