Permalink
Browse files

[test] fix debugger-repl test

  • Loading branch information...
1 parent b5d32d4 commit 2599ef6a96488c5e0c3ae3aae8590e729d98a7c5 @indutny committed Nov 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/simple/test-debugger-repl.js
@@ -61,12 +61,12 @@ function addTest(input, output) {
child.stdin.write(expected[0].input + '\n');
if (!expected[0].lines) {
- process.nextTick(function() {
+ setTimeout(function() {
var callback = expected[0].callback;
expected.shift();
callback && callback();
- });
+ }, 50);
}
} else {
finish();

0 comments on commit 2599ef6

Please sign in to comment.