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

Unified Diff: filter/count/count_test.go

Issue 1355783002: Refactor keys and queries in datastore service and implementation. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | filter/count/rds.go » ('j') | filter/count/rds.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/count/count_test.go
diff --git a/filter/count/count_test.go b/filter/count/count_test.go
index 785264c7f1c061f6d53baf2a23790550e531ecb4..62302d12fc92121e91ee1259a854b6a367cb67b2 100644
--- a/filter/count/count_test.go
+++ b/filter/count/count_test.go
@@ -52,7 +52,6 @@ func TestCount(t *testing.T) {
Convey("Calling a ds function should reflect in counter", func() {
So(ds.PutMulti(vals), ShouldBeNil)
- So(ctr.NewKey.Successes(), ShouldEqual, 1)
So(ctr.PutMulti.Successes(), ShouldEqual, 1)
Convey("effects are cumulative", func() {
@@ -154,9 +153,7 @@ func ExampleFilterRDS() {
someCalledFunc(c)
// Then we can see what happened!
- fmt.Printf("%s\n", counter.NewKey.String())
fmt.Printf("%d\n", counter.PutMulti.Successes())
// Output:
- // {Successes:2, Errors:0}
// 2
}
« no previous file with comments | « no previous file | filter/count/rds.go » ('j') | filter/count/rds.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698