mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-24 02:21:07 +01:00
10 lines
279 B
Rust
10 lines
279 B
Rust
|
#[test]
|
||
|
fn compile_macros() {
|
||
|
let t = trybuild::TestCases::new();
|
||
|
t.pass("tests/trybuild/main-01-basic.rs");
|
||
|
t.compile_fail("tests/trybuild/main-02-only-async.rs");
|
||
|
|
||
|
t.pass("tests/trybuild/test-01-basic.rs");
|
||
|
t.pass("tests/trybuild/test-02-keep-attrs.rs");
|
||
|
}
|