Skip to content

Commit

Permalink
Test(main): Reordered 'Error: invalid response' checks
Browse files Browse the repository at this point in the history
  • Loading branch information
fvdm committed Nov 28, 2016
1 parent c58c3d3 commit bddf57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ dotest.add ('Error: invalid response', function (test) {
test()
.isError ('fail', 'err', err)
.isExactly ('fail', 'err.message', err && err.message, 'invalid response')
.isUndefined ('fail', 'data', data)
.isCondition ('warn', 'err.code', err && err.code, '>=', 300)
.isUndefined ('fail', 'data', data)
.done();
}
});
Expand Down

0 comments on commit bddf57e

Please sign in to comment.