Fix order of diff when rustdoc tests fail
This commit is contained in:
parent
068320b39e
commit
3d11e96569
1 changed files with 1 additions and 1 deletions
|
|
@ -2436,7 +2436,7 @@ impl<'test> TestCx<'test> {
|
|||
})
|
||||
};
|
||||
let mut diff = Command::new("diff");
|
||||
diff.args(&["-u", "-r"]).args(&[out_dir, &compare_dir]);
|
||||
diff.args(&["-u", "-r"]).args(&[&compare_dir, out_dir]);
|
||||
|
||||
let output = if let Some(pager) = pager {
|
||||
let diff_pid = diff.stdout(Stdio::piped()).spawn().expect("failed to run `diff`");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue