Move UI tests to separate tests file

This commit is contained in:
J Henry Waugh 2020-08-21 22:49:15 -05:00
parent 708c0f385e
commit 382e60e91a
2 changed files with 8 additions and 9 deletions

View File

@ -1067,12 +1067,3 @@ mod generate_tests {
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");
}
}

View File

@ -0,0 +1,8 @@
#![cfg(test)]
mod ui_tests {
#[test]
fn all() {
let t = trybuild::TestCases::new();
t.compile_fail("ui_tests/*.rs");
}
}