File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
GitVersionCore.Tests/Core Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- using GitTools . Testing ;
2
1
using GitVersion . Logging ;
3
2
using GitVersion . Extensions ;
4
3
using GitVersionCore . Tests . Helpers ;
5
4
using LibGit2Sharp ;
6
5
using NUnit . Framework ;
7
- using System . Linq ;
8
6
using NSubstitute ;
9
7
using System ;
10
8
using System . Collections . Generic ;
@@ -41,7 +39,7 @@ private Remote MockRemote(IGitRepository repository)
41
39
var head = branches . Add ( "refs/heads/feature/feat-test" , tip ) ;
42
40
var remote = new TesatbleRemote ( "origin" ) ;
43
41
var references = new TestableReferenceCollection ( ) ;
44
- var reference = references . Add ( "develop" , "refs/heads/develop" ) ;
42
+ _ = references . Add ( "develop" , "refs/heads/develop" ) ;
45
43
46
44
repository . Refs . Returns ( references ) ;
47
45
repository . Head . Returns ( head ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class GitRepositoryCommands : IGitRepositoryCommands
15
15
16
16
public GitRepositoryCommands ( Lazy < IRepository > lazyRepository )
17
17
{
18
- this . lazyRepository = lazyRepository ?? throw new System . ArgumentNullException ( nameof ( lazyRepository ) ) ;
18
+ this . lazyRepository = lazyRepository ?? throw new ArgumentNullException ( nameof ( lazyRepository ) ) ;
19
19
}
20
20
21
21
public Branch Checkout ( string committishOrBranchSpec )
You can’t perform that action at this time.
0 commit comments