Skip to content

Commit

Permalink
Fix test not to rely on cargo in PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Aug 26, 2021
1 parent d28ca0b commit e0bd187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/fix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@ fn fix_with_run_cargo_in_proc_macros() {
#[proc_macro]
pub fn foo(_input: TokenStream) -> TokenStream {
let output = std::process::Command::new("cargo")
let output = std::process::Command::new(env!("CARGO"))
.args(&["metadata", "--format-version=1"])
.output()
.unwrap();
Expand Down

0 comments on commit e0bd187

Please sign in to comment.