INNER CODE UNIT · Go
TestBlobTypes
cshum/imagor · blob_test.go:55
func TestBlobTypes(t *testing.T) {
tests := []struct {
name string
path string
contentType string
extension string
bytesType BlobType
supportsAnimation bool
}{
{
name: "jpeg",
path: "demo1.jpg",
contentType: "image/jpeg",
extension: ".jpg",
bytesType: BlobTypeJPEG,
},
{
name: "png",