33using System . Linq ;
44using LibGit2Sharp . Tests . TestHelpers ;
55using Xunit ;
6- using Xunit . Extensions ;
76
87namespace LibGit2Sharp . Tests
98{
@@ -12,7 +11,6 @@ public class NetworkFixture : BaseFixture
1211 [ Theory ]
1312 [ InlineData ( "http://github.com/libgit2/TestGitRepository" ) ]
1413 [ InlineData ( "https://github.com/libgit2/TestGitRepository" ) ]
15- [ InlineData ( "git://github.com/libgit2/TestGitRepository.git" ) ]
1614 public void CanListRemoteReferences ( string url )
1715 {
1816 string remoteName = "testRemote" ;
@@ -49,7 +47,6 @@ public void CanListRemoteReferences(string url)
4947 [ Theory ]
5048 [ InlineData ( "http://github.com/libgit2/TestGitRepository" ) ]
5149 [ InlineData ( "https://github.com/libgit2/TestGitRepository" ) ]
52- [ InlineData ( "git://github.com/libgit2/TestGitRepository.git" ) ]
5350 public void CanListRemoteReferencesFromUrl ( string url )
5451 {
5552 string repoPath = InitNewRepository ( ) ;
@@ -94,9 +91,9 @@ public void CanListRemoteReferenceObjects()
9491 Remote remote = repo . Network . Remotes [ remoteName ] ;
9592 IEnumerable < Reference > references = repo . Network . ListReferences ( remote ) . ToList ( ) ;
9693
97- var actualRefs = new List < Tuple < string , string > > ( ) ;
94+ var actualRefs = new List < Tuple < string , string > > ( ) ;
9895
99- foreach ( Reference reference in references )
96+ foreach ( Reference reference in references )
10097 {
10198 Assert . NotNull ( reference . CanonicalName ) ;
10299
@@ -166,7 +163,7 @@ public void CanPull(FastForwardStrategy fastForwardStrategy)
166163
167164 MergeResult mergeResult = Commands . Pull ( repo , Constants . Signature , pullOptions ) ;
168165
169- if ( fastForwardStrategy == FastForwardStrategy . Default || fastForwardStrategy == FastForwardStrategy . FastForwardOnly )
166+ if ( fastForwardStrategy == FastForwardStrategy . Default || fastForwardStrategy == FastForwardStrategy . FastForwardOnly )
170167 {
171168 Assert . Equal ( MergeStatus . FastForward , mergeResult . Status ) ;
172169 Assert . Equal ( mergeResult . Commit , repo . Branches [ "refs/remotes/origin/master" ] . Tip ) ;
@@ -226,7 +223,7 @@ public void PullWithoutMergeBranchThrows()
226223 {
227224 Commands . Pull ( repo , Constants . Signature , new PullOptions ( ) ) ;
228225 }
229- catch ( MergeFetchHeadNotFoundException ex )
226+ catch ( MergeFetchHeadNotFoundException ex )
230227 {
231228 didPullThrow = true ;
232229 thrownException = ex ;
@@ -293,7 +290,7 @@ public void CanPruneRefs()
293290 Assert . NotNull ( repo . Refs [ "refs/remotes/pruner/master" ] ) ;
294291
295292 // but we do when asked by the user
296- Commands . Fetch ( repo , "pruner" , new string [ 0 ] , new FetchOptions { Prune = true } , null ) ;
293+ Commands . Fetch ( repo , "pruner" , new string [ 0 ] , new FetchOptions { Prune = true } , null ) ;
297294 Assert . Null ( repo . Refs [ "refs/remotes/pruner/master" ] ) ;
298295 }
299296 }
0 commit comments