Migrate to trybuild from compiletest

This migrates our UI tests to the recently published `trybuild` crate
which should hopefully be a bit more robust than `compiletest` over
time!
This commit is contained in:
Alex Crichton
2019-05-15 14:46:03 -07:00
parent 79dba40e61
commit 4cc730fc41
34 changed files with 189 additions and 283 deletions

5
crates/macro/tests/ui.rs Normal file
View File

@ -0,0 +1,5 @@
#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.compile_fail("ui-tests/*.rs");
}