Browse Source

Potential fix for pull request finding 'Useless assignment to local variable'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
pull/3069/head
James Jackson-South 2 months ago
committed by GitHub
parent
commit
07d2c04bf1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      tests/ImageSharp.Tests/Formats/Bmp/BmpDecoderTests.cs

2
tests/ImageSharp.Tests/Formats/Bmp/BmpDecoderTests.cs

@ -589,7 +589,7 @@ public class BmpDecoderTests
using MemoryStream stream = new(bmp);
InvalidImageContentException ex = Assert.Throws<InvalidImageContentException>(() =>
Assert.Throws<InvalidImageContentException>(() =>
{
using Image image = BmpDecoder.Instance.Decode(DecoderOptions.Default, stream);
});

Loading…
Cancel
Save