Skip to content

Commit

Permalink
fix lint errors from CI job
Browse files Browse the repository at this point in the history
Signed-off-by: zhaque44 <[email protected]>
  • Loading branch information
zhaque44 committed Dec 17, 2024
1 parent 138344e commit 33b1432
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/utils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ func TestTruncateString(t *testing.T) {
}

for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
result := TruncateString(tt.input, tt.length)
assert.Equal(t, tt.expected, result)
})
Expand Down Expand Up @@ -59,7 +61,9 @@ func TestUpsertEnvironmentStatus(t *testing.T) {
}

for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
result := UpsertEnvironmentStatus(tt.initial, tt.insert)
assert.Equal(t, tt.expected, result)
})
Expand Down

0 comments on commit 33b1432

Please sign in to comment.