fix the beego ORM test

This commit is contained in:
astaxie 2017-04-30 22:55:39 +08:00
parent a91e2e9950
commit 79b66ef053
1 changed files with 1 additions and 1 deletions

View File

@ -2144,7 +2144,7 @@ func TestUintPk(t *testing.T) {
throwFail(t, AssertIs(u.Name, name))
nu := &UintPk{ID: 8}
created, pk, err = dORM.ReadOrCreate(nu, "ID")
created, pk, err := dORM.ReadOrCreate(nu, "ID")
throwFail(t, err)
throwFail(t, AssertIs(created, false))
throwFail(t, AssertIs(nu.ID, u.ID))