Skip to content

Commit

Permalink
nolint on code adapted from Goal repo
Browse files Browse the repository at this point in the history
  • Loading branch information
semperos committed Jul 17, 2024
1 parent cb3a17a commit e542139
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions goal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ func getScriptMatchTests(glob string) ([]matchTest, error) {
}

// Adapted from Goal implementation.
//
//nolint:gocognit // upstream
func TestEval(t *testing.T) {
mts, err := getMatchTests("*.goal")
if err != nil {
Expand Down Expand Up @@ -237,6 +239,7 @@ func TestEval(t *testing.T) {
t.Log(ps)
t.Log(matchString)
if vLeft != (goal.V{}) {
//nolint:lll // upstream
t.Logf("results:\n %s\nvs %s\n", vLeft.Sprint(ariContextLeft.GoalContext, true), vRight.Sprint(ariContextRight.GoalContext, true))
} else {
t.Logf("results:\n %v\nvs %s\n", vLeft, vRight.Sprint(ariContextRight.GoalContext, true))
Expand All @@ -248,6 +251,8 @@ func TestEval(t *testing.T) {
}

// Adapted from Goal implementation.
//
//nolint:gocognit // upstream
func TestErrors(t *testing.T) {
mts, err := getMatchTests("errors.goal")
if err != nil {
Expand Down

0 comments on commit e542139

Please sign in to comment.