Skip to content

Commit 425c864

Browse files
committed
nolint on code adapted from Goal repo
1 parent d795c38 commit 425c864

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

goal_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ func getScriptMatchTests(glob string) ([]matchTest, error) {
184184
}
185185

186186
// Adapted from Goal implementation.
187+
//
188+
//nolint:gocognit // upstream
187189
func TestEval(t *testing.T) {
188190
mts, err := getMatchTests("*.goal")
189191
if err != nil {
@@ -237,6 +239,7 @@ func TestEval(t *testing.T) {
237239
t.Log(ps)
238240
t.Log(matchString)
239241
if vLeft != (goal.V{}) {
242+
//nolint:lll // upstream
240243
t.Logf("results:\n %s\nvs %s\n", vLeft.Sprint(ariContextLeft.GoalContext, true), vRight.Sprint(ariContextRight.GoalContext, true))
241244
} else {
242245
t.Logf("results:\n %v\nvs %s\n", vLeft, vRight.Sprint(ariContextRight.GoalContext, true))
@@ -248,6 +251,8 @@ func TestEval(t *testing.T) {
248251
}
249252

250253
// Adapted from Goal implementation.
254+
//
255+
//nolint:gocognit // upstream
251256
func TestErrors(t *testing.T) {
252257
mts, err := getMatchTests("errors.goal")
253258
if err != nil {

0 commit comments

Comments
 (0)