mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-29 05:42:35 +00:00
11 lines
252 B
Rust
11 lines
252 B
Rust
|
#[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));
|
||
|
}
|