Skip to content

Commit

Permalink
[Fix] notEqual and notDeepEqual show "expected" value on failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaGrams committed Dec 22, 2018
1 parent 75c467e commit 199345b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ function notEqual(a, b, msg, extra) {
message : defined(msg, 'should not be equal'),
operator : 'notEqual',
actual : a,
notExpected : b,
expected : b,
extra : extra
});
}
Expand Down Expand Up @@ -451,7 +451,7 @@ function notDeepEqual(a, b, msg, extra) {
message : defined(msg, 'should not be equivalent'),
operator : 'notDeepEqual',
actual : a,
notExpected : b,
expected : b,
extra : extra
});
}
Expand Down

0 comments on commit 199345b

Please sign in to comment.