mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue