12 lines
294 B
Rust
12 lines
294 B
Rust
#[test]
|
|
fn accepts_existing_sidecar_spec() {
|
|
let tests = trybuild::TestCases::new();
|
|
tests.pass("tests/ui/flight_core_contract.rs");
|
|
}
|
|
|
|
#[test]
|
|
fn rejects_missing_sidecar_spec() {
|
|
let tests = trybuild::TestCases::new();
|
|
tests.compile_fail("tests/ui/fail_missing_sidecar.rs");
|
|
}
|