Skip to content

Commit 6260365

Browse files
author
Kevin Johnson
committed
Prevents VersionWriterTests from running on mono
1 parent 0acafcf commit 6260365

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/GitVersionExe.Tests/VersionWriterTests.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
using GitVersion;
77
using NUnit.Framework;
88

9+
[TestFixture]
910
public class VersionWriterTests
1011
{
12+
[Category("NoMono")]
13+
[Description("Won't run on Mono because generating an assembly at runtime does not work on mono")]
1114
[Test]
1215
public void WriteVersion_ShouldWriteFileVersion_WithNoPrereleaseTag()
1316
{
@@ -20,6 +23,8 @@ public void WriteVersion_ShouldWriteFileVersion_WithNoPrereleaseTag()
2023
Assert.AreEqual("1.0.0", version);
2124
}
2225

26+
[Category("NoMono")]
27+
[Description("Won't run on Mono because generating an assembly at runtime does not work on mono")]
2328
[Test]
2429
public void WriteVersion_ShouldWriteFileVersion_WithPrereleaseTag()
2530
{

0 commit comments

Comments
 (0)