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

Unified Diff: appengine/cmd/dm/mutate/add_backdep_test.go

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: fix imports and make dummy.go a real file Created 4 years, 6 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 | « appengine/cmd/dm/mutate/add_backdep.go ('k') | appengine/cmd/dm/mutate/add_deps.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cmd/dm/mutate/add_backdep_test.go
diff --git a/appengine/cmd/dm/mutate/add_backdep_test.go b/appengine/cmd/dm/mutate/add_backdep_test.go
index 9b412676269aa60355384705f71ab9c6dc7c48c8..e9397fe1456614e0e6afb383a7eb43b005f95706 100644
--- a/appengine/cmd/dm/mutate/add_backdep_test.go
+++ b/appengine/cmd/dm/mutate/add_backdep_test.go
@@ -58,8 +58,7 @@ func TestAddBackDep(t *testing.T) {
abd.NeedsAck = true
muts, err := abd.RollForward(c)
So(err, ShouldBeNil)
- So(muts, ShouldResemble, []tumble.Mutation{
- &AckFwdDep{abd.Dep, true}})
+ So(muts, ShouldResemble, []tumble.Mutation{&AckFwdDep{abd.Dep}})
So(ds.Get(bdg, bd), ShouldBeNil)
So(bd.Edge(), ShouldResemble, abd.Dep)
@@ -75,8 +74,7 @@ func TestAddBackDep(t *testing.T) {
abd.NeedsAck = true
muts, err := abd.RollForward(c)
So(err, ShouldBeNil)
- So(muts, ShouldResemble, []tumble.Mutation{
- &AckFwdDep{abd.Dep, false}})
+ So(muts, ShouldBeNil)
// Note that bdg was created as a side effect.
So(ds.Get(bdg, bd), ShouldBeNil)
« no previous file with comments | « appengine/cmd/dm/mutate/add_backdep.go ('k') | appengine/cmd/dm/mutate/add_deps.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698