We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836562b commit 653f3aeCopy full SHA for 653f3ae
src/test/mod.rs
@@ -293,7 +293,7 @@ fn stdin_disable_all_formatting_test() {
293
_ => return, // these tests require nightly
294
}
295
let input = String::from("fn main() { println!(\"This should not be formatted.\"); }");
296
- let mut child = Command::new("./target/debug/rustfmt")
+ let mut child = Command::new(rustfmt().to_str().unwrap())
297
.stdin(Stdio::piped())
298
.stdout(Stdio::piped())
299
.arg("--config-path=./tests/config/disable_all_formatting.toml")
0 commit comments