Skip to content

Commit

Permalink
be less picky with ENOENT errors in tests
Browse files Browse the repository at this point in the history
closes #1580
  • Loading branch information
jonathanong committed Oct 31, 2013
1 parent 55d1a4f commit 2e197e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/res.sendfile.js
Expand Up @@ -51,7 +51,7 @@ describe('res', function(){
.get('/')
.end(function(err, res){
assert(1 == calls, 'called too many times');
res.text.should.equal("ENOENT, stat 'test/fixtures/nope.html'");
res.text.should.startWith("ENOENT, stat");
res.statusCode.should.equal(200);
done();
});
Expand Down

0 comments on commit 2e197e2

Please sign in to comment.