From 7485defd0a806fc815a5c95a07032de06eee6134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Schw=C3=A4gerl?= Date: Thu, 23 Jan 2025 10:55:05 +0100 Subject: [PATCH] fix lint --- api/v1beta2/moduletemplate_types_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/v1beta2/moduletemplate_types_test.go b/api/v1beta2/moduletemplate_types_test.go index 6e3f52166a..0a00411359 100644 --- a/api/v1beta2/moduletemplate_types_test.go +++ b/api/v1beta2/moduletemplate_types_test.go @@ -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) { @@ -106,6 +106,7 @@ func Test_GetSemanticVersion(t *testing.T) { } } +//nolint:dupl func Test_GetVersion(t *testing.T) { tests := []struct { name string @@ -158,6 +159,8 @@ func Test_GetVersion(t *testing.T) { }) } } + +//nolint:dupl func Test_GetModuleName(t *testing.T) { tests := []struct { name string