aboutsummaryrefslogtreecommitdiff
path: root/src/utils.rs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-11-17 00:15:03 +0100
committerBond_009 <bond.009@outlook.com>2020-11-17 00:15:03 +0100
commit05a4d2190166a710bd6d45343403c9f79cebe9e7 (patch)
tree30c779dc078c4fbed3988e932842ae2a2b927942 /src/utils.rs
parentdb2ed2b36776f1093d67d212bc3295f148039c0d (diff)
Add test
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs1
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");
}
}