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

Commit 8d8176d

Browse files
committed
Ignore whitespace before and after filter
1 parent 9b0e809 commit 8d8176d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ public class TheFilterProperty
1818
[TestCase("", "owner", "name", "https://github.com/owner/name", 1)]
1919
[TestCase("owner", "owner", "name", "https://github.com/owner/name", 1)]
2020
[TestCase("name", "owner", "name", "https://github.com/owner/name", 1)]
21-
[TestCase("owner/name ", "owner", "name", "https://github.com/owner/name", 1, Description = "Ignore whitespace in owner/name search")]
22-
[TestCase("https://github.com/owner/name ", "owner", "name", "https://github.com/owner/name", 1, Description = "Ignore whitespace in URL search")]
21+
[TestCase(" name", "owner", "name", "https://github.com/owner/name", 1, Description = "Ignore whitespace before filter")]
22+
[TestCase("name ", "owner", "name", "https://github.com/owner/name", 1, Description = "Ignore whitespace after filter")]
23+
[TestCase("https://github.com/owner/name ", "owner", "name", "https://github.com/owner/name", 1, Description = "Ignore whitespace in URL filter")]
2324
[TestCase("owner/name", "owner", "name", "https://github.com/owner/name", 1)]
2425
[TestCase("OWNER/NAME", "owner", "name", "https://github.com/owner/name", 1)]
2526
[TestCase("https://github.com/owner/name", "owner", "name", "https://github.com/owner/name", 1)]

0 commit comments

Comments
 (0)