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:
7
actix-web-codegen/tests/trybuild.rs
Normal file
7
actix-web-codegen/tests/trybuild.rs
Normal 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");
|
||||
}
|
Reference in New Issue
Block a user