From d9f262e277b5c6cdca04e0c53854d198c671e0da Mon Sep 17 00:00:00 2001 From: harry890829 Date: Wed, 10 Jun 2020 12:31:38 +0800 Subject: [PATCH] update go test --- orm/orm_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orm/orm_test.go b/orm/orm_test.go index eff6d602..04825c07 100644 --- a/orm/orm_test.go +++ b/orm/orm_test.go @@ -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),