fixed a couple test that aimed at 0.8

This commit is contained in:
Spencer Alger
2013-12-23 18:08:18 -07:00
parent 74612864e2
commit da80d94bcf
4 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ module.exports = function (makeLogger) {
expect(function () {
// call the event handler
exitHandler.call(process);
}).to.not.throw();
}).to.not.throwError();
});
}
});

View File

@ -85,7 +85,7 @@ describe('File Logger', function () {
expect(function () {
// call the event handler
exitHandler.call(process);
}).to.not.throw();
}).to.not.throwError();
});
}
});

View File

@ -78,7 +78,7 @@ describe('Host class', function () {
});
it('will cause extra properties', function () {
var host = new Host(url.parse('https://joe:diner@pizza.com:888/path?query=yes'));
var host = new Host(url.parse('https://joe:diner@pizza.com:888/path?query=yes#section'));
expect(host.protocol).to.eql('https');
expect(host.host).to.eql('pizza.com');
expect(host.port).to.eql(888);

View File

@ -86,7 +86,7 @@ describe('Stream Logger', function () {
expect(function () {
// call the event handler
exitHandler.call(process);
}).to.not.throw();
}).to.not.throwError();
});
}
});