Skip to content

Commit 85ddba3

Browse files
committed
[Tests] actually invoke Math.random
See #438
1 parent ec3faf9 commit 85ddba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/subtest_and_async.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var test = require('../');
44

55
var asyncFunction = function (callback) {
6-
setTimeout(callback, Math.random * 50);
6+
setTimeout(callback, Math.random() * 50);
77
};
88

99
test('master test', function (t) {

0 commit comments

Comments
 (0)