diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-11-17 00:15:03 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-11-17 00:15:03 +0100 |
| commit | 05a4d2190166a710bd6d45343403c9f79cebe9e7 (patch) | |
| tree | 30c779dc078c4fbed3988e932842ae2a2b927942 /src | |
| parent | db2ed2b36776f1093d67d212bc3295f148039c0d (diff) | |
Add test
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.rs b/src/utils.rs index f7c31be..d62fe8e 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -28,5 +28,6 @@ mod tests { #[test] fn get_repo_name_test() { assert_eq!(get_repo_name("https://github.com/Bond-009/git-mirror.git"), "git-mirror"); + assert_eq!(get_repo_name("https://git.zx2c4.com/cgit"), "cgit"); } } |
