Skip to content

Commit

Permalink
add message to test for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras committed May 3, 2017
1 parent a15b11f commit ea196dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-khttp.js
Expand Up @@ -465,7 +465,7 @@ describe ('khttp', function() {
it ('should override options', function(done) {
var caller = khttp.defaults({ json: true, encoding: 'utf8' });
caller.request({ json: false, encoding: null }, function(err, res, body) {
assert.ok(Buffer.isBuffer(body));
assert.ok(Buffer.isBuffer(body), "expected Buffer, got: " + (body));
done();
})
})
Expand Down

0 comments on commit ea196dc

Please sign in to comment.