Skip to content

Commit

Permalink
Update the test for updateBuildNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkone committed Nov 17, 2020
1 parent cb720f2 commit be39432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void BuildNumberIsFullSemVer()

writes = new List<string>();
buildServer.WriteIntegration(writes.Add, variables, false);
writes.ShouldBeEmpty();
writes.ShouldNotContain(x => x.StartsWith("Executing GenerateSetVersionMessage for "));
}

private class BuildAgent : BuildAgentBase
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersionCore.Tests/BuildAgents/GitHubActionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void ShouldNotWriteIntegration()
// Act
buildServer.WriteIntegration(s => { list.Add(s); }, vars, false);

list.ShouldBeEmpty();
list.ShouldNotContain(x => x.StartsWith("Executing GenerateSetVersionMessage for "));
}

[Test]
Expand Down

0 comments on commit be39432

Please sign in to comment.