Skip to content

Commit

Permalink
update test log
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-nilesh-chate committed May 24, 2023
1 parent 805791f commit ad29ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions floors/enforce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -662,11 +662,11 @@ func TestEnforce(t *testing.T) {
actEligibleBids, actErrs, actRejecteBids := Enforce(tt.args.bidRequestWrapper, tt.args.seatBids, config.Account{PriceFloors: tt.args.priceFloorsCfg}, tt.args.conversions)
assert.Equal(t, tt.expErrs, actErrs, tt.name)
if !reflect.DeepEqual(tt.expRejectedBids, actRejecteBids) {
assert.Fail(t, "rejected bids don't match")
assert.Fail(t, "rejected bids don't match. Got: ", actRejecteBids)
}

if !reflect.DeepEqual(tt.expEligibleBids, actEligibleBids) {
assert.Fail(t, "eligible bids don't match")
assert.Fail(t, "eligible bids don't match. Got: ", actEligibleBids)
}
}
}
Expand Down

0 comments on commit ad29ef8

Please sign in to comment.