From d7f26a84a621cb1a02f2f6d594a53fbde84ec407 Mon Sep 17 00:00:00 2001 From: Jan Pecha Date: Sun, 22 Sep 2013 16:47:29 +0200 Subject: [PATCH] Tests: updated test for extractRepositoryNameFromUrl() Signed-off-by: Jan Pecha --- tests/GitPhp/extractRepositoryNameFromUrl().phpt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/GitPhp/extractRepositoryNameFromUrl().phpt b/tests/GitPhp/extractRepositoryNameFromUrl().phpt index e847cbc..e2d1305 100644 --- a/tests/GitPhp/extractRepositoryNameFromUrl().phpt +++ b/tests/GitPhp/extractRepositoryNameFromUrl().phpt @@ -10,4 +10,5 @@ Assert::same('repo', GitRepository::extractRepositoryNameFromUrl('/path/to/repo/ Assert::same('foo', GitRepository::extractRepositoryNameFromUrl('host.xz:foo/.git')); Assert::same('repo', GitRepository::extractRepositoryNameFromUrl('file:///path/to/repo.git/')); Assert::same('git-php', GitRepository::extractRepositoryNameFromUrl('https://github.com/czproject/git-php.git')); +Assert::same('git-php', GitRepository::extractRepositoryNameFromUrl('git@github.com:czproject/git-php.git'));