Run rustfmt on the tests
This commit is contained in:
parent
4e0938d349
commit
2953ae0702
@ -7,7 +7,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
#![feature(test)]
|
||||
|
||||
extern crate compiletest_rs as compiletest;
|
||||
|
@ -7,7 +7,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
#[test]
|
||||
fn dogfood() {
|
||||
if option_env!("RUSTC_TEST_SUITE").is_some() || cfg!(windows) {
|
||||
|
@ -7,7 +7,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
#![feature(rustc_private)]
|
||||
|
||||
extern crate clippy_lints;
|
||||
@ -16,8 +15,8 @@ use std::collections::Bound;
|
||||
|
||||
#[test]
|
||||
fn test_overlapping() {
|
||||
use clippy_lints::matches::overlapping;
|
||||
use crate::syntax::source_map::DUMMY_SP;
|
||||
use clippy_lints::matches::overlapping;
|
||||
|
||||
let sp = |s, e| clippy_lints::matches::SpannedRange {
|
||||
span: DUMMY_SP,
|
||||
|
@ -7,9 +7,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
|
||||
|
||||
// Tests for the various helper functions used by the needless_continue
|
||||
// lint that don't belong in utils.
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
|
||||
extern crate cargo_metadata;
|
||||
extern crate semver;
|
||||
use semver::VersionReq;
|
||||
|
Loading…
Reference in New Issue
Block a user