From 0a87ce866244dd3d23270f438819d5418f736262 Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Mon, 26 Jun 2023 14:30:19 +0000 Subject: [PATCH] Find the right `cargo-clippy` binary in CI --- tests/compile-test.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/compile-test.rs b/tests/compile-test.rs index 281e778ada6..c5e8622bc85 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -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