1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-20 03:29:25 +02:00
revive/test/use_errors_new_test.go
chavacava d2778f36f1
adds rule use-errors-new (#1142)
Co-authored-by: chavacava <salvador.cavadini@gmail.com>
2024-11-22 08:22:51 +01:00

12 lines
169 B
Go

package test
import (
"testing"
"github.com/mgechev/revive/rule"
)
func TestUseErrorsNew(t *testing.T) {
testRule(t, "use_errors_new", &rule.UseErrorsNewRule{})
}