Skip to content

Commit 735de51

Browse files
committed
fix broken test
1 parent b1eae69 commit 735de51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/node/object_id_tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ exports['should correctly create ObjectId from uppercase hexstring'] = function(
4141
* @ignore
4242
*/
4343
exports['should correctly create ObjectId from Buffer'] = function(test) {
44-
if(!Buffer.from) return done();
44+
if(!Buffer.from) return test.done();
4545
var a = 'AAAAAAAAAAAAAAAAAAAAAAAA';
4646
var b = new ObjectId(Buffer.from(a, 'hex'));
4747
var c = b.equals(a); // => false

0 commit comments

Comments
 (0)