Skip to content

Commit

Permalink
Improved error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Sep 17, 2023
1 parent a114004 commit 7e1068c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private long AssertCompress(string fileName, Func<FileInfo, bool> action, bool r
Assert.Equal(resultIsSmaller, result);

if (resultIsSmaller)
Assert.True(after < before);
Assert.True(after < before, $"Expected {after} to be smaller than {before}.");
else
Assert.Equal(before, after);

Expand Down

0 comments on commit 7e1068c

Please sign in to comment.