File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,18 @@ unset CARGO_MANIFEST_DIR
2424# FIXME: How to match the clippy invocation in compile-test.rs?
2525./target/debug/clippy-driver -Dwarnings -Aunused -Zui-testing --emit metadata --crate-type bin tests/ui/double_neg.rs 2> double_neg.stderr && exit 1
2626sed -e " s,tests/ui,\$ DIR," -e " /= help/d" double_neg.stderr > normalized.stderr
27- diff normalized.stderr tests/ui/double_neg.stderr
27+ diff -u normalized.stderr tests/ui/double_neg.stderr
2828
2929
3030# make sure "clippy-driver --rustc --arg" and "rustc --arg" behave the same
3131SYSROOT=` rustc --print sysroot`
32- diff <( LD_LIBRARY_PATH=${SYSROOT} /lib ./target/debug/clippy-driver --rustc --version --verbose) <( rustc --version --verbose)
32+ diff -u <( LD_LIBRARY_PATH=${SYSROOT} /lib ./target/debug/clippy-driver --rustc --version --verbose) <( rustc --version --verbose)
3333
3434
3535echo " fn main() {}" > target/driver_test.rs
3636# we can't run 2 rustcs on the same file at the same time
3737CLIPPY=` LD_LIBRARY_PATH=${SYSROOT} /lib ./target/debug/clippy-driver ./target/driver_test.rs --rustc`
3838RUSTC=` rustc ./target/driver_test.rs`
39- diff <( $CLIPPY ) <( $RUSTC )
39+ diff -u <( $CLIPPY ) <( $RUSTC )
4040
4141# TODO: CLIPPY_CONF_DIR / CARGO_MANIFEST_DIR
You can’t perform that action at this time.
0 commit comments