Skip to content
Myr

be less picky with ENOENT errors in tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #1580

authored by Jonathan Ong · committed by Jonathan Ong · parent 55d1a4f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/res.sendfile.js+1 added-1 removed
49 unmodified lines
50 request(app)51 .get('/')52 .end(function(err, res){53 assert(1 == calls, 'called too many times');54 res.text.should.equal("ENOENT, stat 'test/fixtures/nope.html'");54 res.text.should.startWith("ENOENT, stat");55 res.statusCode.should.equal(200);56 done();57 });58 })
184 unmodified lines