Skip to content

Commit 4f966b7

Browse files
committed
Fixed lll linter
1 parent 72e7464 commit 4f966b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/run_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ func TestIdentifierUsedOnlyInTests(t *testing.T) {
161161
}
162162

163163
func TestUnusedCheckExported(t *testing.T) {
164-
testshared.NewLintRunner(t).Run("-c", "testdata_etc/unused_exported/golangci.yml", "testdata_etc/unused_exported/...").ExpectHasIssue("`PublicFunc` is unused")
164+
r := testshared.NewLintRunner(t).Run("-c", "testdata_etc/unused_exported/golangci.yml", "testdata_etc/unused_exported/...")
165+
r.ExpectHasIssue("`PublicFunc` is unused")
165166
}
166167

167168
func TestConfigFileIsDetected(t *testing.T) {

0 commit comments

Comments
 (0)