Index: impl/prod/everything_test.go |
diff --git a/impl/prod/everything_test.go b/impl/prod/everything_test.go |
index dcb889c25de6bf45e473bce717d52d608f144f4c..a769557decce690cb551d713fe46ca36ad5ff536 100644 |
--- a/impl/prod/everything_test.go |
+++ b/impl/prod/everything_test.go |
@@ -68,11 +68,18 @@ func TestBasicDatastore(t *testing.T) { |
}) |
Convey("Can probe/change Namespace", func() { |
- So(inf.GetNamespace(), ShouldEqual, "") |
+ ns, has := inf.GetNamespace() |
+ So(ns, ShouldEqual, "") |
+ So(has, ShouldBeFalse) |
+ |
ctx, err = inf.Namespace("wat") |
So(err, ShouldBeNil) |
inf = info.Get(ctx) |
- So(inf.GetNamespace(), ShouldEqual, "wat") |
+ |
+ ns, has = inf.GetNamespace() |
+ So(ns, ShouldEqual, "wat") |
+ So(has, ShouldBeTrue) |
+ |
ds = datastore.Get(ctx) |
So(ds.MakeKey("Hello", "world").Namespace(), ShouldEqual, "wat") |
}) |