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

Unified Diff: impl/memory/datastore_query_execution_test.go

Issue 1916463004: impl/memory: Disallow empty namespace. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/gae@master
Patch Set: Remove memcache. Created 4 years, 8 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/datastore_query_execution_test.go
diff --git a/impl/memory/datastore_query_execution_test.go b/impl/memory/datastore_query_execution_test.go
index 41f4a898b2356b8466cb60cbffd3699ff14d83cc..941e845ebd2bb0aedeb2806e96942898f84bb9f1 100644
--- a/impl/memory/datastore_query_execution_test.go
+++ b/impl/memory/datastore_query_execution_test.go
@@ -494,7 +494,9 @@ func TestQueryExecution(t *testing.T) {
}
So(info.Get(c).FullyQualifiedAppID(), ShouldEqual, "dev~app")
- So(info.Get(c).GetNamespace(), ShouldEqual, "ns")
+ ns, has := info.Get(c).GetNamespace()
+ So(ns, ShouldEqual, "ns")
+ So(has, ShouldBeTrue)
data := ds.Get(c)
testing := data.Testable()

Powered by Google App Engine
This is Rietveld 408576698