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

Function test_get_github_project_name_http

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

Source from the content-addressed store, hash-verified

126
127 #[test]
128 fn test_get_github_project_name_http() {
129 let name = get_github_project_name("http://github.com/my_org/my_project.git");
130 assert!(name.is_some());
131 assert_eq!("my_org/my_project", name.unwrap());
132 }
133
134 #[test]
135 fn test_get_github_project_name_http_no_git() {

Callers

nothing calls this directly

Calls 1

get_github_project_nameFunction · 0.85

Tested by

no test coverage detected