Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
c-pius committed Jan 23, 2025
1 parent 6a99827 commit 7485def
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/v1beta2/moduletemplate_types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"strings"
"testing"

"github.com/stretchr/testify/assert"
apimetav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"github.com/kyma-project/lifecycle-manager/api/shared"
"github.com/kyma-project/lifecycle-manager/api/v1beta2"
"github.com/stretchr/testify/assert"
)

func Test_GetSemanticVersion(t *testing.T) {
Expand Down Expand Up @@ -106,6 +106,7 @@ func Test_GetSemanticVersion(t *testing.T) {
}
}

//nolint:dupl

Check failure on line 109 in api/v1beta2/moduletemplate_types_test.go

View workflow job for this annotation

GitHub Actions / lint

directive `//nolint:dupl` should provide explanation such as `//nolint:dupl // this is why` (nolintlint)
func Test_GetVersion(t *testing.T) {
tests := []struct {
name string
Expand Down Expand Up @@ -158,6 +159,8 @@ func Test_GetVersion(t *testing.T) {
})
}
}

//nolint:dupl

Check failure on line 163 in api/v1beta2/moduletemplate_types_test.go

View workflow job for this annotation

GitHub Actions / lint

directive `//nolint:dupl` should provide explanation such as `//nolint:dupl // this is why` (nolintlint)
func Test_GetModuleName(t *testing.T) {
tests := []struct {
name string
Expand Down

0 comments on commit 7485def

Please sign in to comment.