From: Mikio Hara Date: Tue, 26 Jan 2016 07:35:52 +0000 (+0900) Subject: cmd/go/testdata: fix nits in test X-Git-Tag: go1.6rc1~43 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=295ec4f6f8f1eb39ddb97933298351cd57b2b088;p=gostls13.git cmd/go/testdata: fix nits in test Change-Id: I85fa5e672a476098f8711dcbb5b20ea1a3fa630d Reviewed-on: https://go-review.googlesource.com/18953 Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/go/testdata/src/vend/hello/hello_test.go b/src/cmd/go/testdata/src/vend/hello/hello_test.go index 5e72ada938..7190f599d6 100644 --- a/src/cmd/go/testdata/src/vend/hello/hello_test.go +++ b/src/cmd/go/testdata/src/vend/hello/hello_test.go @@ -7,6 +7,6 @@ import ( func TestMsgInternal(t *testing.T) { if strings.Msg != "hello, world" { - t.Fatal("unexpected msg: %v", strings.Msg) + t.Fatalf("unexpected msg: %v", strings.Msg) } } diff --git a/src/cmd/go/testdata/src/vend/hello/hellox_test.go b/src/cmd/go/testdata/src/vend/hello/hellox_test.go index 96e6049dad..3f2165bd38 100644 --- a/src/cmd/go/testdata/src/vend/hello/hellox_test.go +++ b/src/cmd/go/testdata/src/vend/hello/hellox_test.go @@ -7,6 +7,6 @@ import ( func TestMsgExternal(t *testing.T) { if strings.Msg != "hello, world" { - t.Fatal("unexpected msg: %v", strings.Msg) + t.Fatalf("unexpected msg: %v", strings.Msg) } }