#[test] fn accepts_existing_sidecar_spec() { let tests = trybuild::TestCases::new(); tests.pass("tests/ui/flight_core_contract.rs"); } #[test] fn rejects_invalid_spec_uses() { let tests = trybuild::TestCases::new(); tests.compile_fail("tests/ui/fail_missing_argument.rs"); tests.compile_fail("tests/ui/fail_legacy_named_argument.rs"); tests.compile_fail("tests/ui/fail_non_string_argument.rs"); tests.compile_fail("tests/ui/fail_invalid_suffix.rs"); tests.compile_fail("tests/ui/fail_missing_sidecar.rs"); tests.compile_fail("tests/ui/fail_non_module_item.rs"); }