Skip to content

Commit

Permalink
chore: fixed MapToSlice test
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno committed May 20, 2024
1 parent 698f895 commit c761311
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/utils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func TestMapToArray(t *testing.T) {

result := MapToArray(testMap)
assert.Len(t, result, 3)
assert.Equal(t, "1", result[0])
assert.Equal(t, "2", result[1])
assert.Equal(t, "3", result[2])
assert.Contains(t, result, "1")
assert.Contains(t, result, "2")
assert.Contains(t, result, "3")
}

0 comments on commit c761311

Please sign in to comment.