style: fix lint (#781)

This commit is contained in:
ThinkChaos 2022-12-03 05:40:07 -05:00 committed by GitHub
parent d2ca5a4a6f
commit 45d96a2f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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))
@ -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() {
@ -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() {