Skip to content

Commit 781989a

Browse files
dialect/sql: fixed test
1 parent d077dab commit 781989a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dialect/sql/builder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,7 @@ func TestSelectWithLock(t *testing.T) {
25982598
Where(EQ("id", 1)).
25992599
ForUpdate()
26002600
s.Query()
2601-
require.EqualError(t, s.Err(), "sql: SELECT .. FOR UPDATE/SHARE not supported in SQLite")
2601+
require.Contains(t, s.Err().Error(), "SELECT .. FOR UPDATE/SHARE is not supported")
26022602
}
26032603

26042604
func TestSelector_UnionOrderBy(t *testing.T) {

0 commit comments

Comments
 (0)