Skip to content

Commit

Permalink
Test_getFullRHELv2Features compare slices with assert.ElementsMatchf (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RTann authored Feb 6, 2023
1 parent 227fe5f commit d6ff6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/models_rhelv2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func Test_getFullRHELv2Features(t *testing.T) {
if !tt.wantErr(t, err, fmt.Sprintf("getFullRHELv2Features(%v, %v, %v)", tt.args.db, tt.args.pkgEnvs, tt.args.execsPopulated)) {
return
}
assert.Equalf(t, tt.want, got, "getFullRHELv2Features(%v, %v, %v)", tt.args.db, tt.args.pkgEnvs, tt.args.execsPopulated)
assert.ElementsMatchf(t, tt.want, got, "getFullRHELv2Features(%v, %v, %v)", tt.args.db, tt.args.pkgEnvs, tt.args.execsPopulated)
})
}
}

0 comments on commit d6ff6c8

Please sign in to comment.