Skip to content

Commit b93fa4f

Browse files
mirecadarturcic
authored andcommitted
IgnoreConfig test move to right location
1 parent 564a179 commit b93fa4f

File tree

2 files changed

+9
-19
lines changed

2 files changed

+9
-19
lines changed

src/GitVersionCore.Tests/Configuration/IgnoreConfigTests.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.IO;
33
using GitVersion.Configuration;
4+
using GitVersion.Model.Configuration;
45
using GitVersionCore.Tests.Helpers;
56
using NUnit.Framework;
67
using Shouldly;
@@ -74,5 +75,13 @@ public void WhenBadDateFormatShouldFail()
7475
using var reader = new StringReader(yaml);
7576
Should.Throw<YamlException>(() => ConfigSerializer.Read(reader));
7677
}
78+
79+
[Test]
80+
public void NewInstanceShouldBeEmpty()
81+
{
82+
var ignoreConfig = new IgnoreConfig();
83+
84+
ignoreConfig.IsEmpty.ShouldBeTrue();
85+
}
7786
}
7887
}

src/GitVersionCore.Tests/Model/IgnoreConfigTests.cs

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)