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
33
33
TestImages . Jpeg . Issues . ExifGetString750Load ,
34
34
TestImages . Jpeg . Issues . ExifGetString750Transform ,
35
35
TestImages . Jpeg . Issues . BadSubSampling1076 ,
36
- TestImages . Jpeg . Issues . ValidExifArgumentNullExceptionOnEncode ,
37
36
38
37
// LibJpeg can open this despite the invalid density units.
39
38
TestImages . Jpeg . Issues . Fuzz . ArgumentOutOfRangeException825B ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public partial class JpegEncoderTests
18
18
public void Encode_WithValidExifProfile_DoesNotThrowException < TPixel > ( TestImageProvider < TPixel > provider )
19
19
where TPixel : unmanaged, IPixel < TPixel >
20
20
{
21
- Exception exception = Record . Exception ( ( ) =>
21
+ Exception ex = Record . Exception ( ( ) =>
22
22
{
23
23
var encoder = new JpegEncoder ( ) ;
24
24
var stream = new MemoryStream ( ) ;
@@ -27,7 +27,7 @@ public void Encode_WithValidExifProfile_DoesNotThrowException<TPixel>(TestImageP
27
27
image . Save ( stream , encoder ) ;
28
28
} ) ;
29
29
30
- Assert . Null ( exception ) ;
30
+ Assert . Null ( ex ) ;
31
31
}
32
32
}
33
33
}
You can’t perform that action at this time.
0 commit comments