Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 2fb75b2

Browse files
committed
Check host name isn't matched in filter
1 parent 27e599f commit 2fb75b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/GitHub.App.UnitTests/ViewModels/Dialog/Clone/RepositorySelectViewModelTests.cs

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public class TheFilterProperty
2626
[TestCase("https://github.com/jcansdale/TestDriven.Net", "owner", "name", "https://github.com/jcansdale/TestDriven.Net-issues", 1)]
2727
[TestCase("https://github.com/owner/name/", "owner", "name", "https://github.com/owner/name", 1, Description = "Trailing slash")]
2828
[TestCase("https://github.com/owner/name.git", "owner", "name", "https://github.com/owner/name", 1, Description = "Trailing .git")]
29+
[TestCase("github.com", "owner", "name", "https://github.com/owner/name", 0, Description = "Don't include host name in search")]
2930
public async Task Filter(string filter, string owner, string name, string url, int expectCount)
3031
{
3132
var contributedToRepositories = new[]

0 commit comments

Comments
 (0)