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

Function test_repository_not_found_suggestion

atomic-cli/src/error.rs:792–797  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

790
791 #[test]
792 fn test_repository_not_found_suggestion() {
793 let err = CliError::repository_not_found("/path");
794 let suggestion = err.suggestion();
795 assert!(suggestion.is_some());
796 assert!(suggestion.unwrap().contains("atomic init"));
797 }
798
799 #[test]
800 fn test_view_not_found_suggestion() {

Callers

nothing calls this directly

Calls 1

suggestionMethod · 0.45

Tested by

no test coverage detected