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

Function test_error_display_config_error

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

Source from the content-addressed store, hash-verified

499
500 #[test]
501 fn test_error_display_config_error() {
502 let err = AgentError::ConfigError {
503 operation: "write".to_string(),
504 path: PathBuf::from(".claude/settings.json"),
505 reason: "permission denied".to_string(),
506 };
507 let msg = err.to_string();
508 assert!(msg.contains("write"));
509 assert!(msg.contains(".claude/settings.json"));
510 assert!(msg.contains("permission denied"));
511 }
512
513 #[test]
514 fn test_error_display_agent_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected