Skip to content

Commit

Permalink
Find the right cargo-clippy binary in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jun 26, 2023
1 parent 5bd97ac commit 0a87ce8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/compile-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ fn run_ui_cargo() {
}

let mut config = base_config("ui-cargo");
config.program = CommandBuilder::cargo();
config.program.input_file_flag = CommandBuilder::cargo().input_file_flag;
config.program.out_dir_flag = CommandBuilder::cargo().out_dir_flag;
config.program.args = vec!["clippy".into(), "--color".into(), "never".into(), "--quiet".into()];
config
.program
Expand Down

0 comments on commit 0a87ce8

Please sign in to comment.