Skip to content

Commit

Permalink
style: fix lint (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkChaos committed Dec 3, 2022
1 parent d2ca5a4 commit 45d96a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions querylog/database_writer_test.go
Expand Up @@ -205,7 +205,7 @@ var _ = Describe("DatabaseWriter", func() {
Expect(mock.ExpectationsWereMet()).Should(Succeed())
})

// nolint:lll
//nolint:lll
It("should create the database schema automatically", func() {
By("create table", func() {
mock.ExpectExec(`CREATE TABLE "log_entries"`).WillReturnResult(sqlmock.NewResult(0, 0))
Expand Down Expand Up @@ -242,7 +242,7 @@ var _ = Describe("DatabaseWriter", func() {
AfterEach(func() {
Expect(mock.ExpectationsWereMet()).Should(Succeed())
})
// nolint:lll
//nolint:lll
Context("Happy path", func() {
It("should create the database schema automatically", func() {
By("create table with indexes", func() {
Expand All @@ -258,7 +258,7 @@ var _ = Describe("DatabaseWriter", func() {
})
})

// nolint:lll
//nolint:lll
Context("primary index creation", func() {
It("should create the database schema automatically without errors even if primary idex exists", func() {
By("create table with indexes", func() {
Expand Down

0 comments on commit 45d96a2

Please sign in to comment.