Skip to content

Commit bb74894

Browse files
test(config): update config test
1 parent 51dcad3 commit bb74894

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config/default_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package config
22

33
import (
44
"testing"
5-
6-
"github.com/stretchr/testify/assert"
75
)
86

97
func TestDefaultLint(t *testing.T) {
108
_, err := GetLinter(defConf)
11-
assert.NoError(t, err, "default lint creation failed")
9+
if err != nil {
10+
t.Error("default lint creation failed", err)
11+
return
12+
}
1213
}
1314

1415
func TestDefaultConf(t *testing.T) {

0 commit comments

Comments
 (0)