fix bug on tests

This commit is contained in:
Lunny Xiao 2017-05-27 18:18:48 +08:00
parent 5d752706f0
commit 0437b98eca
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func TestSetExpr(t *testing.T) {
assert.NoError(t, err)
assert.EqualValues(t, 1, cnt)
cnt, err = testEngine.SetExpr("show", "NOT show").Id(1).Update(new(User))
cnt, err = testEngine.SetExpr("show", "NOT `show`").Id(1).Update(new(User))
assert.NoError(t, err)
assert.EqualValues(t, 1, cnt)
}