mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 10:20:56 +00:00
update go test
This commit is contained in:
parent
131748bb3d
commit
d9f262e277
@ -1983,13 +1983,13 @@ func TestUpdate(t *testing.T) {
|
||||
"Nums": ColValue(ColBitRShift, 1),
|
||||
})
|
||||
throwFail(t, err)
|
||||
throwFail(t, AssertIs(num, 0))
|
||||
throwFail(t, AssertIs(num, 1))
|
||||
|
||||
num, err = qs.Filter("user_name", "slene").Update(Params{
|
||||
"Nums": ColValue(ColBitLShift, 1),
|
||||
})
|
||||
throwFail(t, err)
|
||||
throwFail(t, AssertIs(num, 0))
|
||||
throwFail(t, AssertIs(num, 1))
|
||||
|
||||
num, err = qs.Filter("user_name", "slene").Update(Params{
|
||||
"Nums": ColValue(ColBitXOR, 1),
|
||||
|
Loading…
Reference in New Issue
Block a user