Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Nov 3, 2017
1 parent bece7c3 commit 5d533ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/index.js
Expand Up @@ -1446,7 +1446,7 @@ describe('expect()', () => {
Hoek.assert(exception.message === 'Expected \'a\' to have a length of 10 but got 1', exception);
});

it('throws on length check on objects with no length property', (done) => {
it('throws on length check on objects with no length property', () => {

let exception = false;
try {
Expand All @@ -1457,7 +1457,6 @@ describe('expect()', () => {
}

Hoek.assert(exception.message === 'Can only assert length on object, array or string', exception);
done();
});
});

Expand Down

0 comments on commit 5d533ff

Please sign in to comment.