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

Function test_suggestion_already_installed

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

Source from the content-addressed store, hash-verified

629
630 #[test]
631 fn test_suggestion_already_installed() {
632 let err = AgentError::AlreadyInstalled {
633 agent: "claude-code".to_string(),
634 };
635 let suggestion = err.suggestion().unwrap();
636 assert!(suggestion.contains("--force"));
637 }
638
639 #[test]
640 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