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

Function test_suggestion_already_installed

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

Source from the content-addressed store, hash-verified

579
580 #[test]
581 fn test_suggestion_already_installed() {
582 let err = AgentError::AlreadyInstalled {
583 agent: "claude-code".to_string(),
584 };
585 let suggestion = err.suggestion().unwrap();
586 assert!(suggestion.contains("--force"));
587 }
588
589 #[test]
590 fn test_suggestion_not_a_repository() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
suggestionMethod · 0.45

Tested by

no test coverage detected