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

Unified Diff: service/datastore/key_test.go

Issue 2007123002: datastore: Update AllocateIDs to take keys. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/gae@master
Patch Set: Rebase, comments. 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 | « service/datastore/key.go ('k') | service/datastore/multiarg.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/key_test.go
diff --git a/service/datastore/key_test.go b/service/datastore/key_test.go
index 686cb64877ac0bb28cc58888c81559c97fa4fe4f..ae8fe3c824e626a9663252625e377f2c04b1d3a2 100644
--- a/service/datastore/key_test.go
+++ b/service/datastore/key_test.go
@@ -105,8 +105,8 @@ func TestKeyValidity(t *testing.T) {
Convey("keys validity", t, func() {
Convey("incomplete", func() {
- So(MakeKey("aid", "ns", "kind", 1).Incomplete(), ShouldBeFalse)
- So(MakeKey("aid", "ns", "kind", 0).Incomplete(), ShouldBeTrue)
+ So(MakeKey("aid", "ns", "kind", 1).IsIncomplete(), ShouldBeFalse)
+ So(MakeKey("aid", "ns", "kind", 0).IsIncomplete(), ShouldBeTrue)
})
Convey("invalid", func() {
« no previous file with comments | « service/datastore/key.go ('k') | service/datastore/multiarg.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698