| Index: impl/prod/everything_test.go
|
| diff --git a/impl/prod/everything_test.go b/impl/prod/everything_test.go
|
| index 09e954e401519a7e9eeba368153cc1b28cd5ae7f..2f8432de261f8efda62e93528c74f09c5fcfa9d2 100644
|
| --- a/impl/prod/everything_test.go
|
| +++ b/impl/prod/everything_test.go
|
| @@ -169,6 +169,16 @@ func TestBasicDatastore(t *testing.T) {
|
| So(count, ShouldEqual, 1)
|
| })
|
|
|
| + Convey("Can query for bytes", func() {
|
| + q := ds.NewQuery("TestStruct").Eq("ValueBS", []byte("allo"))
|
| + ds.Run(ctx, q, func(ts *TestStruct) {
|
| + So(*ts, ShouldResemble, orig)
|
| + })
|
| + count, err := ds.Count(ctx, q)
|
| + So(err, ShouldBeNil)
|
| + So(count, ShouldEqual, 1)
|
| + })
|
| +
|
| Convey("Can project", func() {
|
| q := ds.NewQuery("TestStruct").Project("ValueS")
|
| rslts := []ds.PropertyMap{}
|
|
|