Commit 97863bb8 authored by Nigel Tao's avatar Nigel Tao

image/draw: fix typos found by "go vet".

R=r, adg, bradfitz
CC=golang-dev
https://golang.org/cl/12312043
parent fba7b04d
......@@ -390,12 +390,12 @@ type embeddedPaletted struct {
func TestPaletted(t *testing.T) {
f, err := os.Open("../testdata/video-001.png")
if err != nil {
t.Fatal("open: %v", err)
t.Fatalf("open: %v", err)
}
defer f.Close()
src, err := png.Decode(f)
if err != nil {
t.Fatal("decode: %v", err)
t.Fatalf("decode: %v", err)
}
b := src.Bounds()
......
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