mirror of
https://github.com/golang/go
synced 2024-11-13 19:10:22 -07:00
image/gif: fix nil deref in test
LGTM=crawshaw, dave R=golang-codereviews, crawshaw, dave CC=golang-codereviews https://golang.org/cl/104520044
This commit is contained in:
parent
72faffbc70
commit
67afeac2ab
@ -116,7 +116,7 @@ func TestEncodeAll(t *testing.T) {
|
||||
for i, f := range frames {
|
||||
m, err := readGIF(f)
|
||||
if err != nil {
|
||||
t.Error(f, err)
|
||||
t.Fatal(f, err)
|
||||
}
|
||||
g0.Image[i] = m.Image[0]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user