Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit b2829a7

Browse files
Removing unused local variables
1 parent 93a3aaa commit b2829a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/UnitTests/IO/GitStatusEntryFactoryTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void CreateObjectWhenProjectRootIsChildOfGitRootAndFileInGitRoot()
2323
var repositoryPath = "/Source".ToNPath();
2424
var unityProjectPath = repositoryPath.Combine("UnityProject");
2525

26-
var gitEnvironment = SubstituteFactory.CreateProcessEnvironment(repositoryPath);
26+
SubstituteFactory.CreateProcessEnvironment(repositoryPath);
2727
var environment = SubstituteFactory.CreateEnvironment(new CreateEnvironmentOptions {
2828
RepositoryPath = repositoryPath,
2929
UnityProjectPath = unityProjectPath
@@ -54,7 +54,7 @@ public void CreateObjectWhenProjectRootIsChildOfGitRootAndFileInProjectRoot()
5454
var repositoryPath = "/Source".ToNPath();
5555
var unityProjectPath = repositoryPath.Combine("UnityProject");
5656

57-
var gitEnvironment = SubstituteFactory.CreateProcessEnvironment(repositoryPath);
57+
SubstituteFactory.CreateProcessEnvironment(repositoryPath);
5858
var environment = SubstituteFactory.CreateEnvironment(new CreateEnvironmentOptions {
5959
RepositoryPath = repositoryPath,
6060
UnityProjectPath = unityProjectPath
@@ -84,7 +84,7 @@ public void CreateObjectWhenProjectRootIsSameAsGitRootAndFileInGitRoot()
8484
var repositoryPath = "/Source".ToNPath();
8585
var unityProjectPath = repositoryPath;
8686

87-
var gitEnvironment = SubstituteFactory.CreateProcessEnvironment(repositoryPath);
87+
SubstituteFactory.CreateProcessEnvironment(repositoryPath);
8888
var environment = SubstituteFactory.CreateEnvironment(new CreateEnvironmentOptions {
8989
RepositoryPath = repositoryPath,
9090
UnityProjectPath = unityProjectPath

0 commit comments

Comments
 (0)