Skip to content

Commit

Permalink
Ignore unused param lint error in example test
Browse files Browse the repository at this point in the history
  • Loading branch information
dhui committed Mar 25, 2024
1 parent fbfe89a commit 4eca1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func Example_nginx() {

// dktest.Run() should be used within a test
dktest.Run(&testing.T{}, dockerImageName, dktest.Options{PortRequired: true, ReadyFunc: readyFunc},
func(t *testing.T, c dktest.ContainerInfo) {
func(t *testing.T, c dktest.ContainerInfo) { // nolint:revive
// test code here
})

Expand Down

0 comments on commit 4eca1c5

Please sign in to comment.