diff --git a/src/pkg/os/signal/signal_test.go b/src/pkg/os/signal/signal_test.go index e5b21c7f532..27336cc1892 100644 --- a/src/pkg/os/signal/signal_test.go +++ b/src/pkg/os/signal/signal_test.go @@ -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) } }