Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
fix(formatter): use assert elementsmatch instead of equalvalues on slice
Browse files Browse the repository at this point in the history
  • Loading branch information
acamilleri committed Mar 16, 2021
1 parent 4c4e55e commit 6b66ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/formatter/format_test.go
Expand Up @@ -24,7 +24,7 @@ func TestListFormatterAvailable(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := ListFormatterAvailable(); !assert.EqualValues(t, got, tt.want) {
if got := ListFormatterAvailable(); !assert.ElementsMatch(t, got, tt.want) {
t.Errorf("ListFormatterAvailable() = %v, want %v", got, tt.want)
}
})
Expand Down

0 comments on commit 6b66ecd

Please sign in to comment.