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

Commit e77d63c

Browse files
committed
Add more tests to check casing
1 parent 9558e04 commit e77d63c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/UnitTests/GitHub.Exports/SimpleRepositoryModelTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ static void SetupRepository(string sha)
4444
[InlineData(17, true, "https://github.com/foo/bar", "", @"src\dir\file1.cs", -1, 2, "https://github.com/foo/bar")]
4545
[InlineData(18, true, null, "123123", @"src\dir\file1.cs", 1, 2, null)]
4646
[InlineData(19, false, "[email protected]/foo/bar", "123123", @"src\dir\file1.cs", -1, -1, "https://github.com/foo/bar/blob/123123/src/dir/file1.cs")]
47+
[InlineData(20, false, "[email protected]/foo/bar", "123123", @"src\dir\File1.cs", -1, -1, "https://github.com/foo/bar/blob/123123/src/dir/File1.cs")]
48+
[InlineData(21, false, "[email protected]/foo/bar", "123123", @"src\dir\ThisIsFile1.cs", -1, -1, "https://github.com/foo/bar/blob/123123/src/dir/ThisIsFile1.cs")]
4749
public void GenerateUrl(int testid, bool createRootedPath, string baseUrl, string sha, string path, int startLine, int endLine, string expected)
4850
{
4951
SetupRepository(sha);

0 commit comments

Comments
 (0)