Test configuration file typing errors
This commit is contained in:
parent
019e310861
commit
7b92fe0387
6
tests/compile-fail/conf_bad_type.rs
Normal file
6
tests/compile-fail/conf_bad_type.rs
Normal file
@ -0,0 +1,6 @@
|
||||
// error-pattern: error reading Clippy's configuration file: `blacklisted-names` is expected to be a `Vec < String >` but is a `integer`
|
||||
|
||||
#![feature(plugin)]
|
||||
#![plugin(clippy(conf_file="./tests/compile-fail/conf_bad_type.toml"))]
|
||||
|
||||
fn main() {}
|
1
tests/compile-fail/conf_bad_type.toml
Normal file
1
tests/compile-fail/conf_bad_type.toml
Normal file
@ -0,0 +1 @@
|
||||
blacklisted-names = 42
|
Loading…
Reference in New Issue
Block a user