Skip to content

Commit

Permalink
Ignore revive's unused-parameter lint checking
Browse files Browse the repository at this point in the history
  • Loading branch information
dhui committed Jan 11, 2024
1 parent 2aee8f3 commit 8d4a3de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion querier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ func TestNewQuerierWithTxCreator(t *testing.T) {
}
}

func TestQuerierBaseImplementers(t *testing.T) {
func TestQuerierBaseImplementers(t *testing.T) { //nolint:revive
f := func(qb satomic.QuerierBase) {}

// Test that sql.DB implements the satomic.QuerierBase interface
Expand Down
2 changes: 1 addition & 1 deletion satomicx/querier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestNewQuerier(t *testing.T) {
}
}

func TestQuerierBaseImplementers(t *testing.T) {
func TestQuerierBaseImplementers(t *testing.T) { //nolint:revive
f := func(qb satomicx.QuerierBase) {}

// Test that sqlx.DB implements the satomic.QuerierBase interface
Expand Down
2 changes: 1 addition & 1 deletion savepointers/mssql/mssql.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ func (sp Savepointer) Rollback(name string) string {
}

// Release releases the named savepoint. Releasing a savepoint is not implemented in MS SQL
func (sp Savepointer) Release(name string) string {
func (sp Savepointer) Release(name string) string { //nolint:revive
return ""
}

0 comments on commit 8d4a3de

Please sign in to comment.