| Index: service/datastore/query_test.go
|
| diff --git a/service/datastore/query_test.go b/service/datastore/query_test.go
|
| index 366ab8b63d901e68c6e0b3fd7e901a97863701db..b903a9b0c27d830752d8fd7692688954e06a98b1 100644
|
| --- a/service/datastore/query_test.go
|
| +++ b/service/datastore/query_test.go
|
| @@ -82,7 +82,7 @@ func nq(kinds ...string) *Query {
|
| }
|
|
|
| func mkKey(elems ...interface{}) *Key {
|
| - return KeyContext{"s~aid", "ns"}.MakeKey(elems...)
|
| + return MkKeyContext("s~aid", "ns").MakeKey(elems...)
|
| }
|
|
|
| var queryTests = []queryTest{
|
| @@ -321,7 +321,7 @@ func TestQueries(t *testing.T) {
|
| Convey(tc.name, func() {
|
| fq, err := tc.q.Finalize()
|
| if err == nil {
|
| - err = fq.Valid(KeyContext{"s~aid", "ns"})
|
| + err = fq.Valid(MkKeyContext("s~aid", "ns"))
|
| }
|
| So(err, ShouldErrLike, tc.err)
|
|
|
|
|