From 887a4b008178cac9bbf36b3a4cd73dd55bebc5af Mon Sep 17 00:00:00 2001 From: chavacava Date: Wed, 2 Oct 2024 07:55:24 +0200 Subject: [PATCH] Update exported_test.go --- test/exported_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/exported_test.go b/test/exported_test.go index 53d11c881..b028eb5df 100644 --- a/test/exported_test.go +++ b/test/exported_test.go @@ -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}) +}