| Index: appengine/tsmon/middleware_test.go
|
| diff --git a/appengine/tsmon/middleware_test.go b/appengine/tsmon/middleware_test.go
|
| index a37c728f3433e0c622c74ff0ac78d0f6dba21ff0..d885e341293a79cfeb70235bbd0d04301b316168 100644
|
| --- a/appengine/tsmon/middleware_test.go
|
| +++ b/appengine/tsmon/middleware_test.go
|
| @@ -10,7 +10,6 @@ import (
|
| "testing"
|
| "time"
|
|
|
| - "github.com/golang/protobuf/proto"
|
| "github.com/julienschmidt/httprouter"
|
| "github.com/luci/gae/service/datastore"
|
| "github.com/luci/luci-go/common/tsmon"
|
| @@ -105,7 +104,7 @@ func TestMiddleware(t *testing.T) {
|
| // Override the TaskNum here - it's created just before this handler runs
|
| // and used just after.
|
| tar := tsmon.Store(c).DefaultTarget().(*target.Task)
|
| - tar.TaskNum = proto.Int32(int32(0))
|
| + tar.TaskNum = 0
|
| tsmon.Store(c).SetDefaultTarget(tar)
|
| })(c, rec, &http.Request{}, nil)
|
| So(rec.Code, ShouldEqual, http.StatusOK)
|
|
|