@@ -54,7 +54,7 @@ static void SetupRepository(string sha)
5454 [ 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" ) ] 5555 [ 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" ) ] 5656 [ 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" ) ] 57- public void GenerateUrl ( int testid , bool createRootedPath , string baseUrl , string sha , string path , int startLine , int endLine , string expected )
57+ public async void GenerateUrl ( int testid , bool createRootedPath , string baseUrl , string sha , string path , int startLine , int endLine , string expected )
5858 {
5959 using ( var temp = new TempDirectory ( ) )
6060 {
@@ -68,7 +68,7 @@ public void GenerateUrl(int testid, bool createRootedPath, string baseUrl, strin
6868 model = new LocalRepositoryModel ( "bar" , new UriString ( baseUrl ) , basePath . FullName ) ;
6969 else
7070 model = new LocalRepositoryModel ( basePath . FullName ) ;
71- var result = model . GenerateUrl ( path , startLine , endLine ) ;
71+ var result = await model . GenerateUrl ( path , startLine , endLine ) ;
7272 Assert . Equal ( expected , result ? . ToString ( ) ) ;
7373 }
7474 }
0 commit comments