Commit 2be48978 authored by Ian Lance Taylor's avatar Ian Lance Taylor

Use t.Errorf for formatted error output.

R=dsymonds1
CC=golang-dev
https://golang.org/cl/183049
parent 939bab60
......@@ -14,6 +14,6 @@ func TestSignal(t *testing.T) {
syscall.Syscall(syscall.SYS_KILL, uintptr(syscall.Getpid()), syscall.SIGHUP, 0)
if sig := (<-Incoming).(UnixSignal); sig != 1 {
t.Error("signal was %v, want %v", sig, 1)
t.Errorf("signal was %v, want %v", sig, 1)
}
}
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