about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2018-11-27 21:11:50 +0100
committerflip1995 <hello@philkrones.com>2018-11-27 21:11:50 +0100
commit2953ae0702c103dc9e0ca6c7509ebc8a5e89e9f0 (patch)
tree01e45f38cc628e7103afb81594c260229e95db2e
parent4e0938d349e95cf6bc8edd1d48197db65c8ecd87 (diff)
downloadrust-2953ae0702c103dc9e0ca6c7509ebc8a5e89e9f0.tar.gz
rust-2953ae0702c103dc9e0ca6c7509ebc8a5e89e9f0.zip
Run rustfmt on the tests
-rw-r--r--tests/compile-test.rs1
-rw-r--r--tests/dogfood.rs1
-rw-r--r--tests/matches.rs3
-rw-r--r--tests/needless_continue_helpers.rs3
-rw-r--r--tests/versioncheck.rs1
5 files changed, 1 insertions, 8 deletions
diff --git a/tests/compile-test.rs b/tests/compile-test.rs
index 64360af641b..5cb37b6b6fd 100644
--- a/tests/compile-test.rs
+++ b/tests/compile-test.rs
@@ -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;
diff --git a/tests/dogfood.rs b/tests/dogfood.rs
index dcbfa90e611..e8f7a080c95 100644
--- a/tests/dogfood.rs
+++ b/tests/dogfood.rs
@@ -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) {
diff --git a/tests/matches.rs b/tests/matches.rs
index 99b05e50c9f..fb5dbf5d84d 100644
--- a/tests/matches.rs
+++ b/tests/matches.rs
@@ -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,
diff --git a/tests/needless_continue_helpers.rs b/tests/needless_continue_helpers.rs
index 662ae110845..8237ac437ba 100644
--- a/tests/needless_continue_helpers.rs
+++ b/tests/needless_continue_helpers.rs
@@ -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.
 
diff --git a/tests/versioncheck.rs b/tests/versioncheck.rs
index 5b189a797b7..cdf97f75ec6 100644
--- a/tests/versioncheck.rs
+++ b/tests/versioncheck.rs
@@ -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;