()
| 315 | |
| 316 | #[test] |
| 317 | fn rejects_newer_schema() { |
| 318 | let tmp = tempfile::tempdir().unwrap(); |
| 319 | write_manifest( |
| 320 | tmp.path(), |
| 321 | "schema = 2\nagent = \"x\"\nversion = \"1.0.0\"\n", |
| 322 | ); |
| 323 | let err = IntegrationManifest::load(tmp.path()).unwrap_err(); |
| 324 | assert!(err.to_string().contains("unsupported manifest schema 2")); |
| 325 | } |
| 326 | |
| 327 | #[test] |
| 328 | fn cli_version_gate_accepts_matching() { |
nothing calls this directly
no test coverage detected