Commit 295ec4f6 authored by Mikio Hara's avatar Mikio Hara Committed by Russ Cox

cmd/go/testdata: fix nits in test

Change-Id: I85fa5e672a476098f8711dcbb5b20ea1a3fa630d
Reviewed-on: https://go-review.googlesource.com/18953Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 0408ca7d
...@@ -7,6 +7,6 @@ import ( ...@@ -7,6 +7,6 @@ import (
func TestMsgInternal(t *testing.T) { func TestMsgInternal(t *testing.T) {
if strings.Msg != "hello, world" { if strings.Msg != "hello, world" {
t.Fatal("unexpected msg: %v", strings.Msg) t.Fatalf("unexpected msg: %v", strings.Msg)
} }
} }
...@@ -7,6 +7,6 @@ import ( ...@@ -7,6 +7,6 @@ import (
func TestMsgExternal(t *testing.T) { func TestMsgExternal(t *testing.T) {
if strings.Msg != "hello, world" { if strings.Msg != "hello, world" {
t.Fatal("unexpected msg: %v", strings.Msg) t.Fatalf("unexpected msg: %v", strings.Msg)
} }
} }
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