Skip to content

Commit ccadff4

Browse files
committed
fix: correct SQL query string formatting in pagination test
1 parent c2e052e commit ccadff4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

page_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestPagination(t *testing.T) {
3030

3131
sql, args, err := query.ToSql()
3232
require.NoError(t, err)
33-
require.Equal(t, "SELECT * FROM t ORDER BY id ASC LIMIT 3 OFFSET 0", sql)
33+
require.Equal(t, `SELECT * FROM t ORDER BY "id" ASC LIMIT 3 OFFSET 0`, sql)
3434
require.Empty(t, args)
3535

3636
result = paginator.PrepareResult(make([]T, 0), page)

0 commit comments

Comments
 (0)