()
| 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() { |
nothing calls this directly
no test coverage detected