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

Unified Diff: impl/memory/datastore_index_test.go

Issue 1550903002: impl/memory: Fix time serialization encoding. (Closed) Base URL: https://github.com/luci/gae@master
Patch Set: Cleanup. Created 4 years, 12 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 | impl/memory/datastore_query.go » ('j') | service/datastore/properties.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/datastore_index_test.go
diff --git a/impl/memory/datastore_index_test.go b/impl/memory/datastore_index_test.go
index 601445e28ae411dc52ca735c67fac89c913af980..c974fb9405c2f0f789695330d77bd5588dc62d8f 100644
--- a/impl/memory/datastore_index_test.go
+++ b/impl/memory/datastore_index_test.go
@@ -20,7 +20,9 @@ var fakeKey = key("parentKind", "sid", "knd", 10)
var rgenComplexTime = time.Date(
1986, time.October, 26, 1, 20, 00, 00, time.UTC)
var rgenComplexKey = key("kind", "id")
-var rgenComplexTimeIdx = prop(rgenComplexTime).ForIndex()
+
+var _, rgenComplexTimeInt = prop(rgenComplexTime).ForIndex()
+var rgenComplexTimeIdx = prop(rgenComplexTimeInt)
var rowGenTestCases = []struct {
name string
« no previous file with comments | « no previous file | impl/memory/datastore_query.go » ('j') | service/datastore/properties.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698