Add the derive proc macro
This commit is contained in:
8
simconnect-sdk-derive/tests/run.rs
Normal file
8
simconnect-sdk-derive/tests/run.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
#[test]
|
||||
fn tests() {
|
||||
let t = trybuild::TestCases::new();
|
||||
t.pass("tests/01-parse.rs");
|
||||
t.compile_fail("tests/02-struct-attr-errors.rs");
|
||||
t.compile_fail("tests/03-field-attr-errors.rs");
|
||||
t.compile_fail("tests/04-invalid-values.rs");
|
||||
}
|
Reference in New Issue
Block a user