MCPcopy Create free account
hub / github.com/arusahni/git-req / test_get_github_project_name_ssh

Function test_get_github_project_name_ssh

src/remotes/github.rs:114–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113 #[test]
114 fn test_get_github_project_name_ssh() {
115 let name = get_github_project_name("git@github.com:my_org/my_project.git");
116 assert!(name.is_some());
117 assert_eq!("my_org/my_project", name.unwrap());
118 }
119
120 #[test]
121 fn test_get_github_project_name_ssh_no_git() {

Callers

nothing calls this directly

Calls 1

get_github_project_nameFunction · 0.85

Tested by

no test coverage detected