Skip to main content
Glama

protolint-mcp

by yoheimuta
base_test.go620 B
package rules_test import ( "testing" "github.com/yoheimuta/protolint/internal/addon/rules" "github.com/yoheimuta/protolint/linter/rule" ) func TestRulesWithSeverityHasSeverity(t *testing.T) { tests := []rule.Severity{ rule.SeverityNote, rule.SeverityWarning, rule.SeverityError, } for _, test := range tests { test := test t.Run(string(test), func(t *testing.T) { var rule_to_test rule.HasSeverity rule_to_test = rules.NewRuleWithSeverity(test) if rule_to_test.Severity() != test { t.Errorf("Rule should have %v severity, but got %v", test, rule_to_test.Severity()) } }) } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yoheimuta/protolint'

If you have feedback or need assistance with the MCP directory API, please join our Discord server