mirror of
https://github.com/golang/go
synced 2024-11-22 03:14: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:
parent
939bab606a
commit
2be4897800
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user