Run rustfmt on the tests

This commit is contained in:
flip1995 2018-11-27 21:11:50 +01:00
parent 4e0938d349
commit 2953ae0702
No known key found for this signature in database
GPG Key ID: E8E897A5870E41C2
5 changed files with 1 additions and 8 deletions

View File

@ -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;

View File

@ -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) {

View File

@ -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,

View File

@ -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.

View File

@ -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;