Skip to content

Decoder.GetFeatures().HasAnimation() untested #12

@jrb3dev

Description

@jrb3dev

Noticed this while looking to make use of this package.
Patch suggested by inspection, but not run yet.

*** decoder_test.go.orig 2022-01-21 13:39:38.000000000 -0500
--- decoder_test.go 2022-01-21 13:40:22.000000000 -0500


*** 100,106 ****
t.Fatal("file has_alpha is invalid")
}

! if features.HasAlpha {
t.Fatal("file has_animation is invalid")
}
}
--- 100,106 ----
t.Fatal("file has_alpha is invalid")
}

! if features.HasAnimation {
t.Fatal("file has_animation is invalid")
}
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions