Skip to content

Commit

Permalink
- removed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rominator1983 committed Aug 24, 2022
1 parent 5147691 commit 7815dcd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ namespace GitVersion.Core.Tests;
[TestFixture]
public class MinDateVersionFilterTests : TestBase
{
[Test]
public void VerifyNullGuard()
{
var dummy = DateTimeOffset.UtcNow.AddSeconds(1.0);
var sut = new MinDateVersionFilter(dummy);

Should.Throw<ArgumentNullException>(() => sut.Exclude(null, out _));
}

[Test]
public void WhenCommitShouldExcludeWithReason()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ namespace GitVersion.Core.Tests;
[TestFixture]
public class ShaVersionFilterTests : TestBase
{
[Test]
public void VerifyNullGuard2()
{
var commit = GitToolsTestingExtensions.CreateMockCommit();
var sut = new ShaVersionFilter(new[] { commit.Sha });

Should.Throw<ArgumentNullException>(() => sut.Exclude(null, out _));
}

[Test]
public void WhenShaMatchShouldExcludeWithReason()
{
Expand Down

0 comments on commit 7815dcd

Please sign in to comment.