Skip to content

Commit

Permalink
Merge pull request JakeChampion#216 from bryanrsmith/fix-assertion
Browse files Browse the repository at this point in the history
Fix incorrect assertion
  • Loading branch information
mislav committed Oct 9, 2015
2 parents 53ecc9b + 9d5d9d1 commit ac12935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ suite('Response', function() {
var r = new Response('{"foo":"bar"}', {headers: {'content-type': 'application/json'}});
assert.equal(r.headers instanceof Headers, true);
return r.json().then(function(json){
assert(json.foo, 'bar');
assert.equal(json.foo, 'bar');
return json;
})
})
Expand Down

0 comments on commit ac12935

Please sign in to comment.