mirror of
https://github.com/mgechev/revive.git
synced 2025-05-21 22:13:14 +02:00
12 lines
169 B
Go
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{})
|
||
|
}
|