Skip to content

Commit 713f0b0

Browse files
committed
review
1 parent b33e227 commit 713f0b0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/run_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func TestTestsAreLintedByDefault(t *testing.T) {
9595
}
9696

9797
func TestCgoOk(t *testing.T) {
98-
testshared.NewLintRunner(t).Run("--no-config", "--enable-all", getTestDataDir("cgo")).ExpectNoIssues()
98+
testshared.NewLintRunner(t).Run("--no-config", "--enable-all", "-D", "nosnakecase", getTestDataDir("cgo")).ExpectNoIssues()
9999
}
100100

101101
func TestCgoWithIssues(t *testing.T) {

test/testdata/cgo/main.go

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"unsafe"
1515
)
1616

17-
//nolint:nosnakecase
1817
func Example() {
1918
cs := C.CString("Hello from stdio\n")
2019
C.myprint(cs)

0 commit comments

Comments
 (0)