1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 12:00:55 +00:00

little fix

This commit is contained in:
zav8 2019-02-01 15:39:40 +08:00
parent af4464ce58
commit 7abdb05f91

View File

@ -464,6 +464,7 @@ func TestNullDataTypes(t *testing.T) {
Q := dDbBaser.TableQuote()
num, err = dORM.Raw(fmt.Sprintf("SELECT * FROM %sdata_null%s where id=?", Q, Q), 3).QueryRows(&dnList)
throwFailNow(t, err)
throwFailNow(t, AssertIs(num, 1))
equal := reflect.DeepEqual(*dnList[0], d)
throwFailNow(t, AssertIs(equal, true))
}