Skip to content

Commit

Permalink
Revert unintentional indent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Nov 22, 2024
1 parent 362dce3 commit 43af6e8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions _integration-tests/tests/sql/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 43af6e8

Please sign in to comment.