Skip to content

Commit

Permalink
Tests: updated test for extractRepositoryNameFromUrl()
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pecha <[email protected]>
  • Loading branch information
janpecha committed Sep 22, 2013
1 parent e59150e commit d7f26a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/GitPhp/extractRepositoryNameFromUrl().phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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('[email protected]:czproject/git-php.git'));

0 comments on commit d7f26a8

Please sign in to comment.