Permalink
Browse files

Fix failing test

  • Loading branch information...
danmactough committed Oct 5, 2012
1 parent 6263805 commit eb8c744405f99e2f45ab61a3b31e656bfa575f27
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parseUrl404.js
View
@@ -8,7 +8,7 @@ describe('feedparser', function(){
it('should return http error: getaddrinfo ENOENT', function(done) {
this.timeout(10000);
feedparser.parseUrl('http://nonexistingdomaincausinganerror.com/feed.rss', function (error, meta, articles) {
- assert.ifError(!error);
+ assert(error instanceof Error, error.message);
assert.equal(error.message, 'getaddrinfo ENOENT');
done();
});

0 comments on commit eb8c744

Please sign in to comment.