Rocket/core/codegen/tests/ui-fail.rs

11 lines
252 B
Rust
Raw Normal View History

#[test]
fn ui() {
let path = match version_check::is_feature_flaggable() {
Some(true) => "ui-fail-nightly",
_ => "ui-fail-stable"
};
let t = trybuild::TestCases::new();
t.compile_fail(format!("tests/{}/*.rs", path));
}