MCPcopy Create free account
hub / github.com/dallay/agentsync / test_codex_formatter_parse_existing

Function test_codex_formatter_parse_existing

src/mcp.rs:1469–1479  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1467
1468 #[test]
1469 fn test_codex_formatter_parse_existing() {
1470 let formatter = CodexCliFormatter;
1471 let existing = r#"
1472[mcp_servers.existing]
1473command = "node"
1474args = ["server.js"]
1475"#;
1476
1477 let parsed = formatter.parse_existing(existing).unwrap();
1478 assert!(parsed.contains_key("existing"));
1479 }
1480
1481 #[test]
1482 fn test_codex_formatter_merge_preserves_other_settings() {

Callers

nothing calls this directly

Calls 1

parse_existingMethod · 0.80

Tested by

no test coverage detected