Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Mar 21, 2021
1 parent 9f315f3 commit 5152116
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Tests/ComparisonTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public void Initialize()

private static void CompareStreams(FileStream expectedStream, MemoryStream outputStream)
{
Assert.IsNotNull(outputStream);
Assert.AreNotEqual(0, outputStream.Length);

#if NETCOREAPP3_0_OR_GREATER
// the expected images are for Windows
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
Expand Down

0 comments on commit 5152116

Please sign in to comment.