From 05a4d2190166a710bd6d45343403c9f79cebe9e7 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Tue, 17 Nov 2020 00:15:03 +0100 Subject: Add test --- src/utils.rs | 1 + 1 file changed, 1 insertion(+) 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"); } } -- cgit v1.2.3