mirror of
https://github.com/astaxie/beego.git
synced 2025-07-06 20:10:19 +00:00
little fix
This commit is contained in:
@ -464,6 +464,7 @@ func TestNullDataTypes(t *testing.T) {
|
|||||||
Q := dDbBaser.TableQuote()
|
Q := dDbBaser.TableQuote()
|
||||||
num, err = dORM.Raw(fmt.Sprintf("SELECT * FROM %sdata_null%s where id=?", Q, Q), 3).QueryRows(&dnList)
|
num, err = dORM.Raw(fmt.Sprintf("SELECT * FROM %sdata_null%s where id=?", Q, Q), 3).QueryRows(&dnList)
|
||||||
throwFailNow(t, err)
|
throwFailNow(t, err)
|
||||||
|
throwFailNow(t, AssertIs(num, 1))
|
||||||
equal := reflect.DeepEqual(*dnList[0], d)
|
equal := reflect.DeepEqual(*dnList[0], d)
|
||||||
throwFailNow(t, AssertIs(equal, true))
|
throwFailNow(t, AssertIs(equal, true))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user