diff --git a/_integration-tests/tests/sql/sql.go b/_integration-tests/tests/sql/sql.go index de4c40d7..ca044691 100644 --- a/_integration-tests/tests/sql/sql.go +++ b/_integration-tests/tests/sql/sql.go @@ -44,22 +44,22 @@ func (tc *TestCase) Setup(t *testing.T) { _, err = tc.untraced.ExecContext(ctx, `CREATE TABLE IF NOT EXISTS notes ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - userid INTEGER, - content STRING, - created STRING - )`) + id INTEGER PRIMARY KEY AUTOINCREMENT, + userid INTEGER, + content STRING, + created STRING + )`) require.NoError(t, err) _, err = tc.untraced.ExecContext(ctx, `INSERT OR REPLACE INTO notes(userid, content, created) VALUES - (1, 'Hello, John. This is John. You are leaving a note for yourself. You are welcome and thank you.', datetime('now')), - (1, 'Hey, remember to mow the lawn.', datetime('now')), - (2, 'Reminder to submit that report by Thursday.', datetime('now')), - (2, 'Opportunities don''t happen, you create them.', datetime('now')), - (3, 'Pick up cabbage from the store on the way home.', datetime('now')), - (3, 'Review PR #1138', datetime('now') - )`) + (1, 'Hello, John. This is John. You are leaving a note for yourself. You are welcome and thank you.', datetime('now')), + (1, 'Hey, remember to mow the lawn.', datetime('now')), + (2, 'Reminder to submit that report by Thursday.', datetime('now')), + (2, 'Opportunities don''t happen, you create them.', datetime('now')), + (3, 'Pick up cabbage from the store on the way home.', datetime('now')), + (3, 'Review PR #1138', datetime('now') + )`) require.NoError(t, err) tc.DB, err = sql.Open(dn, dsn)