Skip to content

Commit

Permalink
Merge pull request #1 from JanKrivanek/patch-1
Browse files Browse the repository at this point in the history
Explicitly verify there are no errors in the build nor during reading
  • Loading branch information
MichalPavlik authored Apr 18, 2024
2 parents aa892ec + d671b75 commit 2ddf654
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/StructuredLogger.Tests/BinaryLoggerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ public void TestBinaryLoggerRoundtrip(bool useInMemoryProject)
var xml1 = GetTestFile("1.xml");
var xml2 = GetTestFile("2.xml");

build.Children.Where(c => c.TypeName == "Error").Should().BeEmpty("There should be no errors in the build");

Serialization.Write(build, xml1);

Serialization.Write(build, GetTestFile("1.buildlog"));
Expand Down

0 comments on commit 2ddf654

Please sign in to comment.