Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit a5123f0

Browse files
committed
Remove tests that require clippy
Looks like they're failing on nightly and hopefully we'll get enough coverage in rust-lang/rust itself to cover these use cases.
1 parent 571b43a commit a5123f0

14 files changed

+1
-688
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ language: rust
22
rust:
33
- nightly
44
- stable
5-
before_script:
6-
- if [ $TRAVIS_RUST_VERSION == nightly ]; then cargo install clippy --git https://github.com/rust-lang-nursery/rust-clippy.git --force; fi
75
script:
86
- cargo build
97
- if [ $TRAVIS_RUST_VERSION == nightly ]; then cargo test -- --nocapture ; fi

tests/everything.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use rustfix::{Replacement, apply_suggestions};
1818
fn compile(file: &Path) -> Result<Output, Box<Error>> {
1919
let tmp = TempDir::new("rustfix-tests")?;
2020
let better_call_clippy = cmd!(
21-
"clippy-driver", "rustc", file,
21+
"rustc", file,
2222
"--error-format=pretty-json", "-Zunstable-options", "--emit=metadata",
2323
"--crate-name=rustfix_test",
2424
"--out-dir", tmp.path()

tests/fixtures/explicit_iter_loop.fixed.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/fixtures/explicit_iter_loop.json

Lines changed: 0 additions & 70 deletions
This file was deleted.

tests/fixtures/explicit_iter_loop.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/fixtures/fold-any.fixed.rs

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/fixtures/fold-any.json

Lines changed: 0 additions & 204 deletions
This file was deleted.

tests/fixtures/fold-any.rs

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/fixtures/needless_borrow.fixed.rs

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)