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

Unified Diff: service/datastore/pls_test.go

Issue 1525453002: Handle unexpected entity fields gracefully. (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Created 5 years 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
Index: service/datastore/pls_test.go
diff --git a/service/datastore/pls_test.go b/service/datastore/pls_test.go
index 18cc5dc16e33cec282e460645ca0bbfee7cf45b5..52a51416886f63553c38e3c9d21ff81071001bb6 100644
--- a/service/datastore/pls_test.go
+++ b/service/datastore/pls_test.go
@@ -60,11 +60,11 @@ func makeUint8Slice(n int) []uint8 {
}
var (
- testKey0 = mkKey("aid", "", "kind", "name0")
- testKey1a = mkKey("aid", "", "kind", "name1")
- testKey1b = mkKey("aid", "", "kind", "name1")
- testKey2a = mkKey("aid", "", "kind", "name0", "kind", "name2")
- testKey2b = mkKey("aid", "", "kind", "name0", "kind", "name2")
+ testKey0 = mkKey("kind", "name0")
+ testKey1a = mkKey("kind", "name1")
+ testKey1b = mkKey("kind", "name1")
+ testKey2a = mkKey("kind", "name0", "kind", "name2")
+ testKey2b = mkKey("kind", "name0", "kind", "name2")
testGeoPt0 = GeoPoint{Lat: 1.2, Lng: 3.4}
testGeoPt1 = GeoPoint{Lat: 5, Lng: 10}
testBadGeoPt = GeoPoint{Lat: 1000, Lng: 34}

Powered by Google App Engine
This is Rietveld 408576698