Skip to content

Commit

Permalink
Update exported_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
chavacava authored Oct 2, 2024
1 parent 59bbbb6 commit 887a4b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/exported_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ func TestCheckPublicInterfaceOption(t *testing.T) {
testRule(t, "exported-issue-1002", &rule.ExportedRule{}, &lint.RuleConfig{Arguments: args})
}

func TestCheckDisablingOnDeclarationTypes(t *testing.T) {
args := []any{"disableChecksOnConstants", "disableChecksOnFunctions", "disableChecksOnMethods", "disableChecksOnTypes", "disableChecksOnVariables"}

testRule(t, "exported-issue-1045", &rule.ExportedRule{}, &lint.RuleConfig{Arguments: args})
}

0 comments on commit 887a4b0

Please sign in to comment.