1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:54:45 -07:00

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

R=r, adg, bradfitz
CC=golang-dev
https://golang.org/cl/12312043
This commit is contained in:
Nigel Tao 2013-08-02 13:29:45 +10:00
parent fba7b04dcb
commit 97863bb8af

View File

@ -390,12 +390,12 @@ type embeddedPaletted struct {
func TestPaletted(t *testing.T) { func TestPaletted(t *testing.T) {
f, err := os.Open("../testdata/video-001.png") f, err := os.Open("../testdata/video-001.png")
if err != nil { if err != nil {
t.Fatal("open: %v", err) t.Fatalf("open: %v", err)
} }
defer f.Close() defer f.Close()
src, err := png.Decode(f) src, err := png.Decode(f)
if err != nil { if err != nil {
t.Fatal("decode: %v", err) t.Fatalf("decode: %v", err)
} }
b := src.Bounds() b := src.Bounds()