()
| 141 | |
| 142 | #[test] |
| 143 | fn loads_minimal_manifest() { |
| 144 | let tmp = tempfile::tempdir().unwrap(); |
| 145 | write_manifest( |
| 146 | tmp.path(), |
| 147 | r#" |
| 148 | schema = 1 |
| 149 | agent = "opencode" |
| 150 | version = "1.0.0" |
| 151 | "#, |
| 152 | ); |
| 153 | let m = IntegrationManifest::load(tmp.path()).unwrap(); |
| 154 | assert_eq!(m.agent, "opencode"); |
| 155 | assert_eq!(m.version, "1.0.0"); |
| 156 | assert!(m.files.is_empty()); |
| 157 | assert!(m.settings.is_empty()); |
| 158 | assert!(m.requires.atomic.is_none()); |
| 159 | } |
| 160 | |
| 161 | #[test] |
| 162 | fn loads_full_manifest() { |
nothing calls this directly
no test coverage detected