()
| 260 | |
| 261 | #[test] |
| 262 | fn loads_minimal_manifest() { |
| 263 | let tmp = tempfile::tempdir().unwrap(); |
| 264 | write_manifest( |
| 265 | tmp.path(), |
| 266 | r#" |
| 267 | schema = 1 |
| 268 | agent = "opencode" |
| 269 | version = "1.0.0" |
| 270 | "#, |
| 271 | ); |
| 272 | let m = IntegrationManifest::load(tmp.path()).unwrap(); |
| 273 | assert_eq!(m.agent, "opencode"); |
| 274 | assert_eq!(m.version, "1.0.0"); |
| 275 | assert!(m.files.is_empty()); |
| 276 | assert!(m.settings.is_empty()); |
| 277 | assert!(m.requires.atomic.is_none()); |
| 278 | } |
| 279 | |
| 280 | #[test] |
| 281 | fn loads_full_manifest() { |
nothing calls this directly
no test coverage detected