Move UI tests to separate tests file
This commit is contained in:
parent
708c0f385e
commit
382e60e91a
@ -1067,12 +1067,3 @@ mod generate_tests {
|
|||||||
assert_streams_eq(item_fn.generate(), expected_tokens);
|
assert_streams_eq(item_fn.generate(), expected_tokens);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
mod ui_tests {
|
|
||||||
#[test]
|
|
||||||
fn all() {
|
|
||||||
let t = trybuild::TestCases::new();
|
|
||||||
t.compile_fail("ui_tests/*.rs");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
8
codegen/tests/ui_tests.rs
Normal file
8
codegen/tests/ui_tests.rs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#![cfg(test)]
|
||||||
|
mod ui_tests {
|
||||||
|
#[test]
|
||||||
|
fn all() {
|
||||||
|
let t = trybuild::TestCases::new();
|
||||||
|
t.compile_fail("ui_tests/*.rs");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user