Skip to content

Commit 48b9075

Browse files
committed
Make the compiler field static
According to nunit/nunit#947, `ValueSourceAttributes` expects the referenced field to be `static` in NUnit 3.
1 parent 47c8787 commit 48b9075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Compilation Compile(string assemblyInfoText)
5353
public string ApprovedSubFolder { get { return Path.Combine("Approved", "VisualBasic"); } }
5454
}
5555

56-
private readonly ICompiler[] compilers = new ICompiler[]
56+
private static readonly ICompiler[] compilers = new ICompiler[]
5757
{
5858
new CSharpCompiler(),
5959
new VisualBasicCompiler()

0 commit comments

Comments
 (0)