diff --git a/vips/image_golden_test.go b/vips/image_golden_test.go index 315c7b98..12d2cd63 100644 --- a/vips/image_golden_test.go +++ b/vips/image_golden_test.go @@ -637,26 +637,6 @@ func TestImage_QuantTable(t *testing.T) { nil, ep) } -func TestImage_animationGIF(t *testing.T) { - ep := &ExportParams{ - Format: ImageTypeGIF, - Quality: 75, - } - goldenTest(t, resources+"gif-animated.gif", - func(img *ImageRef) error { return nil }, - nil, ep) -} - -func TestImage_animationWebP(t *testing.T) { - ep := &ExportParams{ - Format: ImageTypeWEBP, - Quality: 75, - } - goldenTest(t, resources+"webp-animated.webp", - func(img *ImageRef) error { return nil }, - nil, ep) -} - func goldenTest(t *testing.T, file string, exec func(img *ImageRef) error, validate func(img *ImageRef), params *ExportParams) []byte { Startup(nil) diff --git a/vips/image_test.go b/vips/image_test.go index 895c40ea..0527b375 100644 --- a/vips/image_test.go +++ b/vips/image_test.go @@ -690,6 +690,7 @@ func TestToBytes(t *testing.T) { require.NoError(t, err) buf1, err := image.ToBytes() + assert.NoError(t, err) assert.Equal(t, 6220800, len(buf1)) }