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

Function test_repository_exists_display

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

Source from the content-addressed store, hash-verified

797
798 #[test]
799 fn test_repository_exists_display() {
800 let err = CliError::repository_exists("/home/user/project");
801 let msg = err.to_string();
802 assert!(msg.contains("Repository already exists"));
803 assert!(msg.contains("/home/user/project"));
804 }
805
806 #[test]
807 fn test_view_not_found_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected