Skip to content

Commit

Permalink
Make the compiler field static
Browse files Browse the repository at this point in the history
According to nunit/nunit#947, `ValueSourceAttributes` expects the referenced field to be `static` in NUnit 3.
  • Loading branch information
asbjornu committed Apr 6, 2016
1 parent 47c8787 commit 48b9075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitVersionTask.Tests/AssemblyInfoBuilderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Compilation Compile(string assemblyInfoText)
public string ApprovedSubFolder { get { return Path.Combine("Approved", "VisualBasic"); } }
}

private readonly ICompiler[] compilers = new ICompiler[]
private static readonly ICompiler[] compilers = new ICompiler[]
{
new CSharpCompiler(),
new VisualBasicCompiler()
Expand Down

0 comments on commit 48b9075

Please sign in to comment.