1 2 3 4 5 6 7 8 9 10 11
#[test] pub fn expand_pass() { macrotest::expand("tests/expand/*.rs"); // macrotest::expand_without_refresh("tests/expand/*.rs"); } #[test] pub fn compile_fail() { let t = trybuild::TestCases::new(); t.compile_fail("tests/compile_fail/*.rs"); }