Move all *.toml
test files to tests/aux
This commit is contained in:
parent
2cd58e40f0
commit
6800111c8e
@ -1,5 +1,5 @@
|
||||
#![feature(plugin)]
|
||||
#![plugin(clippy(conf_file="./tests/compile-fail/conf_french_blacklisted_name.toml"))]
|
||||
#![plugin(clippy(conf_file="./tests/aux/conf_french_blacklisted_name.toml"))]
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![allow(single_match)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
// error-pattern: error reading Clippy's configuration file
|
||||
|
||||
#![feature(plugin)]
|
||||
#![plugin(clippy(conf_file="./tests/compile-fail/non_existant_conf.toml"))]
|
||||
#![plugin(clippy(conf_file="./tests/aux/non_existant_conf.toml"))]
|
||||
|
||||
fn main() {}
|
||||
|
@ -1,6 +1,6 @@
|
||||
// error-pattern: error reading Clippy's configuration file: unknown key `foobar`
|
||||
|
||||
#![feature(plugin)]
|
||||
#![plugin(clippy(conf_file="./tests/compile-fail/conf_unknown_key.toml"))]
|
||||
#![plugin(clippy(conf_file="./tests/aux/conf_unknown_key.toml"))]
|
||||
|
||||
fn main() {}
|
||||
|
@ -1,4 +0,0 @@
|
||||
#![feature(plugin)]
|
||||
#![plugin(clippy(conf_file="./tests/run-pass/conf_unknown_key.toml"))]
|
||||
|
||||
fn main() {}
|
4
tests/run-pass/conf_whitelisted.rs
Normal file
4
tests/run-pass/conf_whitelisted.rs
Normal file
@ -0,0 +1,4 @@
|
||||
#![feature(plugin)]
|
||||
#![plugin(clippy(conf_file="./tests/aux/conf_whitelisted.toml"))]
|
||||
|
||||
fn main() {}
|
Loading…
Reference in New Issue
Block a user