Commit 67afeac2 authored by Dmitriy Vyukov's avatar Dmitriy Vyukov

image/gif: fix nil deref in test

LGTM=crawshaw, dave
R=golang-codereviews, crawshaw, dave
CC=golang-codereviews
https://golang.org/cl/104520044
parent 72faffbc
......@@ -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]
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment