Skip to content

Commit 9ea25d2

Browse files
committed
Fixed unit tests.
1 parent 81dea05 commit 9ea25d2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/Magick.NET.Tests/Formats/Bmp/BmpWriteDefinesTests/TheFormatProperty.cs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ public void ShouldAllowBmpFormats(MagickFormat format)
4040
[InlineData((MagickFormat)int.MaxValue)]
4141
public void ShouldThrowExceptionWhenFormatIsInvalid(MagickFormat format)
4242
{
43-
var defines = new BmpWriteDefines();
43+
var defines = new BmpWriteDefines()
44+
{
45+
Format = MagickFormat.Bmp2,
46+
};
4447

4548
var exception = Assert.Throws<InvalidOperationException>(() => defines.Format = format);
4649

0 commit comments

Comments
 (0)