mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
d904a01140
Windows has a different error message than POSIX, so the ui tests fail for the clippy-config-fail tests. This commit splits those tests up in target-os specific subdirectories and extends compile-test.rs to run either of them based on the target os. Here's hope we'll get a green appveyor build.
6 lines
167 B
Rust
6 lines
167 B
Rust
// error-pattern: error reading Clippy's configuration file
|
|
|
|
#![feature(plugin)]
|
|
#![plugin(clippy(conf_file="./tests/compile-fail/conf_bad_toml.toml"))]
|
|
|
|
fn main() {}
|