Skip to content

Commit

Permalink
Revert test 'fixes' - see PR ladjs#1227
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Westerdale (ABRS Limited) committed May 18, 2017
1 parent 96af65f commit c4bb687
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/basic.js
Expand Up @@ -360,7 +360,7 @@ describe('request', function(){
.accept('xml')
.end(function(err, res){
try {
res.header['accept'].should.equal('text/xml');
res.header['accept'].should.equal('application/xml');
done();
} catch(e) { done(e); }
});
Expand Down
2 changes: 1 addition & 1 deletion test/request.js
Expand Up @@ -295,7 +295,7 @@ it('request .accept() with xml', function(next){
.accept('xml')
.end(function(err, res){
try {
assert.equal('text/xml', res.text, res.text);
assert.equal('application/xml', res.text, res.text);
next();
} catch(e) { next(e); }
});
Expand Down

0 comments on commit c4bb687

Please sign in to comment.