| Index: common/tsmon/flush_test.go
|
| diff --git a/common/tsmon/flush_test.go b/common/tsmon/flush_test.go
|
| index ebfa9d3b695ace1d6f373e78a1c5d85026aca60b..b0531460d3ba542668b90aaea8db28bdad7644b1 100644
|
| --- a/common/tsmon/flush_test.go
|
| +++ b/common/tsmon/flush_test.go
|
| @@ -8,7 +8,6 @@ import (
|
| "testing"
|
| "time"
|
|
|
| - "github.com/golang/protobuf/proto"
|
| "golang.org/x/net/context"
|
|
|
| "github.com/luci/luci-go/common/clock"
|
| @@ -25,9 +24,7 @@ import (
|
| func TestFlush(t *testing.T) {
|
| c := context.Background()
|
|
|
| - defaultTarget := (*target.Task)(&pb.Task{
|
| - ServiceName: proto.String("test"),
|
| - })
|
| + defaultTarget := (*target.Task)(&pb.Task{ServiceName: "test"})
|
|
|
| Convey("Sends a metric", t, func() {
|
| c, s, m := WithFakes(c)
|
|
|