Skip to content

Commit

Permalink
Addressing linter findings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mada committed Oct 10, 2024
1 parent 762bf35 commit 2bbd2ce
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions internal/report/report_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"bytes"
"encoding/json"
"errors"
"github.com/go-gremlins/gremlins/internal/execution"
"go/token"
"os"
"path/filepath"
Expand All @@ -33,6 +32,7 @@ import (
"github.com/hectane/go-acl"
"github.com/spf13/viper"

"github.com/go-gremlins/gremlins/internal/execution"
"github.com/go-gremlins/gremlins/internal/log"
"github.com/go-gremlins/gremlins/internal/mutator"
"github.com/go-gremlins/gremlins/internal/report"
Expand Down Expand Up @@ -287,10 +287,8 @@ func TestAssessment(t *testing.T) {
} else {
t.Errorf("expected err to be ExitError")
}
} else {
if err != nil {
t.Fatal("unexpected error")
}
} else if err != nil {
t.Fatal("unexpected error")
}
})
}
Expand Down

0 comments on commit 2bbd2ce

Please sign in to comment.