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

Function test_repository_not_found_display

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

Source from the content-addressed store, hash-verified

789
790 #[test]
791 fn test_repository_not_found_display() {
792 let err = CliError::repository_not_found("/home/user/project");
793 let msg = err.to_string();
794 assert!(msg.contains("Not in an Atomic repository"));
795 assert!(msg.contains("/home/user/project"));
796 }
797
798 #[test]
799 fn test_repository_exists_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected