File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
tests/ImageSharp.Tests/Formats/Gif Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -290,15 +290,9 @@ public void Issue2012EmptyXmp<TPixel>(TestImageProvider<TPixel> provider)
290290 public void Issue2012BadMinCode < TPixel > ( TestImageProvider < TPixel > provider )
291291 where TPixel : unmanaged, IPixel < TPixel >
292292 {
293- Exception ex = Record . Exception (
294- ( ) =>
295- {
296- using Image < TPixel > image = provider . GetImage ( ) ;
297- image . DebugSave ( provider ) ;
298- } ) ;
299-
300- Assert . NotNull ( ex ) ;
301- Assert . Contains ( "Gif Image does not contain a valid LZW minimum code." , ex . Message ) ;
293+ using Image < TPixel > image = provider . GetImage ( ) ;
294+ image . DebugSave ( provider ) ;
295+ image . CompareToReferenceOutput ( provider ) ;
302296 }
303297
304298 // https://bugzilla.mozilla.org/show_bug.cgi?id=55918
You can’t perform that action at this time.
0 commit comments