Skip to content

Commit

Permalink
fix bug on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed May 27, 2017
1 parent 5d75270 commit 0437b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session_cols_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 0437b98

Please sign in to comment.