Skip to content

Commit

Permalink
Fix assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
gavv committed Nov 24, 2022
1 parent 0d38181 commit 0453013
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions array.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,10 @@ func (a *Array) NotEqualUnordered(value interface{}) *Array {

if !different {
a.chain.fail(AssertionFailure{
Type: AssertNotEqual,
Actual: &AssertionValue{a.value},
Expected: &AssertionValue{value},
Type: AssertNotEqual,
Actual: &AssertionValue{a.value},
Expected: &AssertionValue{value},
Reference: &AssertionValue{value},
Errors: []error{
errors.New("expected: arrays are non-equal (ignoring order)"),
},
Expand Down

0 comments on commit 0453013

Please sign in to comment.