Move all our tests back to ui tests

This commit is contained in:
Oliver Schneider 2017-08-01 17:54:21 +02:00
parent 5595027018
commit 74c776585c
397 changed files with 1527 additions and 1679 deletions

View File

@ -14,7 +14,6 @@ readme = "README.md"
license = "MPL-2.0"
keywords = ["clippy", "lint", "plugin"]
categories = ["development-tools", "development-tools::cargo-plugins"]
workspace = "clippy_tests"
[badges]
travis-ci = { repository = "Manishearth/rust-clippy" }
@ -47,3 +46,5 @@ serde = "1.0"
[features]
debugging = []
[workspace]

View File

@ -14,7 +14,7 @@ repository = "https://github.com/Manishearth/rust-clippy"
readme = "README.md"
license = "MPL-2.0"
keywords = ["clippy", "lint", "plugin"]
workspace = "../clippy_tests"
workspace = ".."
[dependencies]
itertools = "0.6.0"

View File

@ -1,9 +0,0 @@
[package]
name = "clippy_tests"
version = "0.1.0"
authors = ["Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>"]
[dependencies]
clippy = { path = ".." }
[workspace]

View File

@ -1,36 +0,0 @@
error: Closure called just once immediately after it was declared
--> redundant_closure_call.rs:15:2
|
15 | i = closure();
| ^^^^^^^^^^^^^
|
= note: `-D redundant-closure-call` implied by `-D warnings`
error: Closure called just once immediately after it was declared
--> redundant_closure_call.rs:18:2
|
18 | i = closure(3);
| ^^^^^^^^^^^^^^
error: Try not to call a closure in the expression where it is declared.
--> redundant_closure_call.rs:7:10
|
7 | let a = (|| 42)();
| ^^^^^^^^^ help: Try doing something like: : `42`
error: Try not to call a closure in the expression where it is declared.
--> redundant_closure_call.rs:10:14
|
10 | let mut k = (|m| m+1)(i);
| ^^^^^^^^^^^^
error: Try not to call a closure in the expression where it is declared.
--> redundant_closure_call.rs:12:6
|
12 | k = (|a,b| a*b)(1,5);
| ^^^^^^^^^^^^^^^^
error: aborting due to 5 previous errors
To learn more, run the command again with --verbose.

Some files were not shown because too many files have changed in this diff Show More