Skip to content

Commit 5532f9b

Browse files
committed
Deleted meaningless test
Deleted test that effectively only tested the ProcessHelper; not GitVersion.exe, as it appeared to.
1 parent 3a67f5e commit 5532f9b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/GitVersionExe.Tests/ExecCmdLineArgumentTest.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System.IO;
22
using GitTools.Testing;
33
using NUnit.Framework;
4-
54
using Shouldly;
65

76
[TestFixture]
@@ -52,17 +51,10 @@ public void InvalidArgumentsExitCodeShouldNotBeZero()
5251
</Target>
5352
</Project>";
5453
File.WriteAllText(buildFile, buildFileContent);
55-
var result = GitVersionHelper.ExecuteIn(fixture.RepositoryPath, arguments : " /invalid-argument");
54+
var result = GitVersionHelper.ExecuteIn(fixture.RepositoryPath, arguments: " /invalid-argument");
5655

5756
result.ExitCode.ShouldBe(1);
5857
result.Output.ShouldContain("Failed to parse arguments");
5958
}
6059
}
61-
62-
[Test]
63-
public void InvalidWorkingDirectoryCrashesWithInformativeMessage()
64-
{
65-
var results = GitVersionHelper.ExecuteIn("InvalidDirectory", null, isTeamCity : false, logToFile : false);
66-
results.Output.ShouldContain("InvalidDirectory");
67-
}
6860
}

0 commit comments

Comments
 (0)