Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: common/tsmon/flush_test.go

Issue 1854583002: Migrate tsmon protos to proto3 (Closed) Base URL: git@github.com:luci/luci-go.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « common/tsmon/field/field_test.go ('k') | common/tsmon/metric/metric_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « common/tsmon/field/field_test.go ('k') | common/tsmon/metric/metric_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698