little fix

This commit is contained in:
zav8 2019-02-01 15:39:40 +08:00
parent af4464ce58
commit 7abdb05f91
1 changed files with 1 additions and 0 deletions

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))
}