mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
14 lines
346 B
Go
14 lines
346 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mgechev/revive/lint"
|
|
"github.com/mgechev/revive/rule"
|
|
)
|
|
|
|
func TestForbiddenCallInWgGo(t *testing.T) {
|
|
testRule(t, "forbidden_call_in_wg_go", &rule.ForbiddenCallInWgGoRule{}, &lint.RuleConfig{})
|
|
testRule(t, "go1.25/forbidden_call_in_wg_go", &rule.ForbiddenCallInWgGoRule{}, &lint.RuleConfig{})
|
|
}
|