Skip to content

Commit

Permalink
Fixed copy/paste error in unchunked body error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Apr 21, 2015
1 parent d637a25 commit b4981cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unexpectedMessy.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ module.exports = {
if (promiseByKey.unchunkedBody && promiseByKey.unchunkedBody.isRejected()) {
var unchunkedBodyError = promiseByKey.unchunkedBody.reason();
output.nl().annotationBlock(function () {
this.error('should have raw body satisfying').sp().append(expect.inspect(value.unchunkedBody));
this.error('should have unchunked body satisfying').sp().append(expect.inspect(value.unchunkedBody));
var d = unchunkedBodyError.createDiff && unchunkedBodyError.createDiff(output.clone(), diff, inspect, equal);
if (d && d.diff) {
this.nl().append(d.diff);
Expand Down

0 comments on commit b4981cc

Please sign in to comment.