Skip to content

Commit 8c3bde5

Browse files
committed
fix lint errors from CI job
Signed-off-by: zhaque44 <[email protected]>
1 parent b78d201 commit 8c3bde5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/utils/utils_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ func TestTruncateString(t *testing.T) {
2323
}
2424

2525
for _, tt := range tests {
26+
tt := tt
2627
t.Run(tt.name, func(t *testing.T) {
28+
t.Parallel()
2729
result := TruncateString(tt.input, tt.length)
2830
assert.Equal(t, tt.expected, result)
2931
})
@@ -59,7 +61,9 @@ func TestUpsertEnvironmentStatus(t *testing.T) {
5961
}
6062

6163
for _, tt := range tests {
64+
tt := tt
6265
t.Run(tt.name, func(t *testing.T) {
66+
t.Parallel()
6367
result := UpsertEnvironmentStatus(tt.initial, tt.insert)
6468
assert.Equal(t, tt.expected, result)
6569
})

0 commit comments

Comments
 (0)