File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
tests/ImageSharp.Tests/Formats/Jpg Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ public partial class JpegDecoderTests
3333 TestImages . Jpeg . Issues . ExifGetString750Load ,
3434 TestImages . Jpeg . Issues . ExifGetString750Transform ,
3535 TestImages . Jpeg . Issues . BadSubSampling1076 ,
36- TestImages . Jpeg . Issues . ValidExifArgumentNullExceptionOnEncode ,
3736
3837 // LibJpeg can open this despite the invalid density units.
3938 TestImages . Jpeg . Issues . Fuzz . ArgumentOutOfRangeException825B ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public partial class JpegEncoderTests
1818 public void Encode_WithValidExifProfile_DoesNotThrowException < TPixel > ( TestImageProvider < TPixel > provider )
1919 where TPixel : unmanaged, IPixel < TPixel >
2020 {
21- Exception exception = Record . Exception ( ( ) =>
21+ Exception ex = Record . Exception ( ( ) =>
2222 {
2323 var encoder = new JpegEncoder ( ) ;
2424 var stream = new MemoryStream ( ) ;
@@ -27,7 +27,7 @@ public void Encode_WithValidExifProfile_DoesNotThrowException<TPixel>(TestImageP
2727 image . Save ( stream , encoder ) ;
2828 } ) ;
2929
30- Assert . Null ( exception ) ;
30+ Assert . Null ( ex ) ;
3131 }
3232 }
3333}
You can’t perform that action at this time.
0 commit comments