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

Unified Diff: impl/memory/testing_utils_test.go

Issue 1302813003: impl/memory: Implement Queries (Closed) Base URL: https://github.com/luci/gae.git@add_multi_iterator
Patch Set: Created 5 years, 4 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
Index: impl/memory/testing_utils_test.go
diff --git a/impl/memory/testing_utils_test.go b/impl/memory/testing_utils_test.go
index 42089586997a7def196ccc522fddec056cc7f6d6..8d89b118eebb34953d4c1b386e22e9d146c55084 100644
--- a/impl/memory/testing_utils_test.go
+++ b/impl/memory/testing_utils_test.go
@@ -51,7 +51,7 @@ func key(kind string, id interface{}, parent ...ds.Key) ds.Key {
case int:
return dskey.New(globalAppID, "ns", kind, "", int64(x), p)
default:
- panic(fmt.Errorf("what the %T: %v", id, id))
+ return dskey.New(globalAppID, "ns", kind, "invalid", 100, p)
}
}

Powered by Google App Engine
This is Rietveld 408576698