Index: impl/prod/everything_test.go |
diff --git a/impl/prod/everything_test.go b/impl/prod/everything_test.go |
index 66a372d0c419d26b3ef72112abe778e098be1ca0..a761cdfff4a4375b07c5dd820fee77e8a92d38ee 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") |
}) |