MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / loads_minimal_manifest

Function loads_minimal_manifest

atomic-agent/src/integrations/manifest.rs:262–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260
261 #[test]
262 fn loads_minimal_manifest() {
263 let tmp = tempfile::tempdir().unwrap();
264 write_manifest(
265 tmp.path(),
266 r#"
267schema = 1
268agent = "opencode"
269version = "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() {

Callers

nothing calls this directly

Calls 3

write_manifestFunction · 0.70
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected