Skip to content

Commit

Permalink
Fix error message sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmm committed Feb 20, 2016
1 parent d701069 commit b2faa62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ test('objects', function (t) {
st.ok(isEqual({ nested: a }, { nested: a }), 'similar hashes with same nested hash are equal');
st.ok(isEqual({ nested: a }, { nested: b }), 'similar hashes with similar nested hash are equal');

st.notOk(isEqual({ a: 42, b: 0 }, { a: 42 }), 'first hash missing a key is not equal');
st.notOk(isEqual({ a: 42 }, { a: 42, b: 0 }), 'second hash missing a key is not equal');
st.notOk(isEqual({ a: 42, b: 0 }, { a: 42 }), 'second hash missing a key is not equal');
st.notOk(isEqual({ a: 42 }, { a: 42, b: 0 }), 'first hash missing a key is not equal');

st.notOk(isEqual({ a: 1 }, { a: 2 }), 'two objects with equal keys but inequal values are not equal');
st.notOk(isEqual({ c: 1 }, { a: 1 }), 'two objects with inequal keys but same values are not equal');
Expand Down

0 comments on commit b2faa62

Please sign in to comment.