diff options
| author | flip1995 <hello@philkrones.com> | 2018-11-27 21:11:50 +0100 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2018-11-27 21:11:50 +0100 |
| commit | 2953ae0702c103dc9e0ca6c7509ebc8a5e89e9f0 (patch) | |
| tree | 01e45f38cc628e7103afb81594c260229e95db2e | |
| parent | 4e0938d349e95cf6bc8edd1d48197db65c8ecd87 (diff) | |
| download | rust-2953ae0702c103dc9e0ca6c7509ebc8a5e89e9f0.tar.gz rust-2953ae0702c103dc9e0ca6c7509ebc8a5e89e9f0.zip | |
Run rustfmt on the tests
| -rw-r--r-- | tests/compile-test.rs | 1 | ||||
| -rw-r--r-- | tests/dogfood.rs | 1 | ||||
| -rw-r--r-- | tests/matches.rs | 3 | ||||
| -rw-r--r-- | tests/needless_continue_helpers.rs | 3 | ||||
| -rw-r--r-- | tests/versioncheck.rs | 1 |
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; |
