1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:04:41 -07:00

Use t.Errorf for formatted error output.

R=dsymonds1
CC=golang-dev
https://golang.org/cl/183049
This commit is contained in:
Ian Lance Taylor 2009-12-23 22:08:49 -08:00
parent 939bab606a
commit 2be4897800

View File

@ -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)
}
}