| Index: go/src/infra/gae/libs/meta/eg_test.go
|
| diff --git a/go/src/infra/gae/libs/meta/eg_test.go b/go/src/infra/gae/libs/meta/eg_test.go
|
| index 11e74108e9e55f9d6db21abd9a81f22920587fb9..472bfcdcca509408962a4e5c79f7f0404a9a11d1 100644
|
| --- a/go/src/infra/gae/libs/meta/eg_test.go
|
| +++ b/go/src/infra/gae/libs/meta/eg_test.go
|
| @@ -22,13 +22,9 @@ func TestGetEntityGroupVersion(t *testing.T) {
|
| c := memory.Use(context.Background())
|
| rds := gae.GetRDS(c)
|
|
|
| - type A struct {
|
| - ID int64 `datastore:"-" goon:"id"`
|
| - Val int
|
| - }
|
| -
|
| - a := &A{Val: 10}
|
| - aKey, err := rds.Put(rds.NewKey("A", "", 0, nil), a)
|
| + aKey, err := rds.Put(rds.NewKey("A", "", 0, nil), gae.DSPropertyMap{
|
| + "Val": {gae.MkDSProperty(10)},
|
| + })
|
| So(err, ShouldBeNil)
|
|
|
| v, err := GetEntityGroupVersion(c, aKey)
|
|
|