From 97863bb8afb025b06cea1032f605207b899764f3 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Fri, 2 Aug 2013 13:29:45 +1000 Subject: [PATCH] image/draw: fix typos found by "go vet". R=r, adg, bradfitz CC=golang-dev https://golang.org/cl/12312043 --- src/pkg/image/draw/draw_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/image/draw/draw_test.go b/src/pkg/image/draw/draw_test.go index 3fa10f7b5a..0dd7fbd479 100644 --- a/src/pkg/image/draw/draw_test.go +++ b/src/pkg/image/draw/draw_test.go @@ -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()