Skip to content

Commit 500cb87

Browse files
committed
make jshint happy
1 parent c37699a commit 500cb87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/error.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('OAuth2Error', function() {
1919
it('should expose the `stack`', function () {
2020
var error = new OAuth2Error('invalid_request', 'The access token was not found');
2121

22-
error.stack.should.not.be.undefined;
22+
error.stack.should.not.equal(undefined);
2323
});
2424

2525
it('should expose a custom `name`', function () {
@@ -37,7 +37,7 @@ describe('OAuth2Error', function() {
3737
it('should expose a status `code`', function () {
3838
var error = new OAuth2Error('invalid_client');
3939

40-
error.code.should.be.a.Number;
40+
error.code.should.be.a('number');
4141
});
4242

4343
it('should expose the `error`', function () {

0 commit comments

Comments
 (0)