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

Unified Diff: logdog/server/collector/collector_test.go

Issue 2626433004: Move "common/config" common types into cfgtypes. (Closed)
Patch Set: Created 3 years, 11 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 | « logdog/server/collector/collector.go ('k') | logdog/server/collector/coordinator/cache.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/server/collector/collector_test.go
diff --git a/logdog/server/collector/collector_test.go b/logdog/server/collector/collector_test.go
index ae328c8f7885448f77591caef502674238e0bc91..a692bb9a1eb995330ef6e46f476bdfb301f7e92a 100644
--- a/logdog/server/collector/collector_test.go
+++ b/logdog/server/collector/collector_test.go
@@ -11,13 +11,13 @@ import (
"testing"
"github.com/luci/luci-go/common/clock/testclock"
- "github.com/luci/luci-go/common/config"
"github.com/luci/luci-go/common/errors"
"github.com/luci/luci-go/logdog/api/logpb"
"github.com/luci/luci-go/logdog/client/butlerproto"
"github.com/luci/luci-go/logdog/common/storage/memory"
"github.com/luci/luci-go/logdog/common/types"
cc "github.com/luci/luci-go/logdog/server/collector/coordinator"
+ "github.com/luci/luci-go/luci_config/common/cfgtypes"
"golang.org/x/net/context"
. "github.com/luci/luci-go/common/testing/assertions"
@@ -202,7 +202,7 @@ func testCollectorImpl(t *testing.T, caching bool) {
Convey(`Will drop streams with invalid project names.`, func() {
b := bb.genBase()
b.Project = "!!!invalid name!!!"
- So(config.ProjectName(b.Project).Validate(), ShouldNotBeNil)
+ So(cfgtypes.ProjectName(b.Project).Validate(), ShouldNotBeNil)
err := coll.Process(c, bb.bundle())
So(err, ShouldErrLike, "invalid bundle project name")
« no previous file with comments | « logdog/server/collector/collector.go ('k') | logdog/server/collector/coordinator/cache.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698