1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 00:44:26 +02:00

add trybuild tests to routing codegen (#1677)

This commit is contained in:
Rob Ede
2020-09-13 16:31:08 +01:00
committed by GitHub
parent f861508789
commit 3fde3be3d8
8 changed files with 110 additions and 22 deletions

View File

@ -0,0 +1,7 @@
#[test]
fn compile_macros() {
let t = trybuild::TestCases::new();
t.pass("tests/trybuild/simple.rs");
t.compile_fail("tests/trybuild/simple-fail.rs");
}