Skip to content

Commit 5d533ff

Browse files
committedNov 3, 2017
merge
1 parent bece7c3 commit 5d533ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎test/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ describe('expect()', () => {
14461446
Hoek.assert(exception.message === 'Expected \'a\' to have a length of 10 but got 1', exception);
14471447
});
14481448

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

14511451
let exception = false;
14521452
try {
@@ -1457,7 +1457,6 @@ describe('expect()', () => {
14571457
}
14581458

14591459
Hoek.assert(exception.message === 'Can only assert length on object, array or string', exception);
1460-
done();
14611460
});
14621461
});
14631462

0 commit comments

Comments
 (0)
Please sign in to comment.