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

Function test_error_display_agent_not_found

atomic-agent/src/error.rs:514–522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

512
513 #[test]
514 fn test_error_display_agent_not_found() {
515 let err = AgentError::AgentNotFound {
516 name: "cursor".to_string(),
517 available: "claude-code, gemini-cli, codex, opencode".to_string(),
518 };
519 let msg = err.to_string();
520 assert!(msg.contains("cursor"));
521 assert!(msg.contains("claude-code"));
522 }
523
524 #[test]
525 fn test_error_display_turn_not_active() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected