Files
Notes/notes-service/vendor/sea-query-derive/tests/test_build.rs
T
2026-08-01 16:11:49 +03:00

12 lines
373 B
Rust

#[test]
fn build_tests() {
let t = trybuild::TestCases::new();
t.compile_fail("./tests/compile-fail/*.rs");
t.compile_fail("./tests/compile-fail/enum_def/*.rs");
// all of these are exactly the same as the examples in `examples/derive.rs`
t.pass("./tests/pass/*.rs");
t.pass("./tests/pass/enum_def/*.rs");
t.pass("./tests/pass-static/*.rs");
}