Skip to content

Commit 68fa126

Browse files
asbjornuJakeGinnivan
authored andcommitted
Just be sure that none of the variables we're comparing against are null, since that would make the verification kind of pointless.
1 parent 8b82d78 commit 68fa126

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitVersionTask.Tests/AssemblyInfoBuilderTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ static void VerifyGitVersionInformationAttribute(Assembly assembly, VersionVaria
117117

118118
foreach (var variable in versionVariables)
119119
{
120+
Assert.IsNotNull(variable.Value);
121+
120122
var property = properties.FirstOrDefault(p => p.Name == variable.Key);
121123
Assert.IsNotNull(property);
122124

0 commit comments

Comments
 (0)