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

Unified Diff: common/tsmon/store/inmemory_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/monitor/acq_test.go ('k') | common/tsmon/store/testing.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/tsmon/store/inmemory_test.go
diff --git a/common/tsmon/store/inmemory_test.go b/common/tsmon/store/inmemory_test.go
index 3149e5a4012356a37a2d4f45022b1b74253eda50..d466f188b5db38947f4f5b0389f677146f1b64df 100644
--- a/common/tsmon/store/inmemory_test.go
+++ b/common/tsmon/store/inmemory_test.go
@@ -6,7 +6,6 @@ package store
import (
"testing"
- "github.com/golang/protobuf/proto"
"github.com/luci/luci-go/common/tsmon/target"
"golang.org/x/net/context"
)
@@ -15,7 +14,7 @@ func TestInMemory(t *testing.T) {
ctx := context.Background()
RunStoreImplementationTests(t, ctx, TestOptions{
Factory: func() Store {
- return NewInMemory(&target.Task{ServiceName: proto.String("default target")})
+ return NewInMemory(&target.Task{ServiceName: "default target"})
},
RegistrationFinished: func(Store) {},
GetNumRegisteredMetrics: func(s Store) int {
« no previous file with comments | « common/tsmon/monitor/acq_test.go ('k') | common/tsmon/store/testing.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698