diff --git a/test/simple/test-repl-.save.load.js b/test/simple/test-repl-.save.load.js index ef31831171..b5749c8c7e 100644 --- a/test/simple/test-repl-.save.load.js +++ b/test/simple/test-repl-.save.load.js @@ -32,7 +32,7 @@ function ArrayStream() { this.run = function(data) { var self = this; data.forEach(function(line) { - self.emit('data', line); + self.emit('data', line + '\n'); }); } } diff --git a/test/simple/test-repl-autolibs.js b/test/simple/test-repl-autolibs.js index 593b6465cb..0f4ae8b387 100644 --- a/test/simple/test-repl-autolibs.js +++ b/test/simple/test-repl-autolibs.js @@ -28,7 +28,7 @@ function ArrayStream() { this.run = function (data) { var self = this; data.forEach(function (line) { - self.emit('data', line); + self.emit('data', line + '\n'); }); } } diff --git a/test/simple/test-repl-tab-complete.js b/test/simple/test-repl-tab-complete.js index 1490598e90..b38eaa13b7 100644 --- a/test/simple/test-repl-tab-complete.js +++ b/test/simple/test-repl-tab-complete.js @@ -30,7 +30,7 @@ function ArrayStream() { this.run = function(data) { var self = this; data.forEach(function(line) { - self.emit('data', line); + self.emit('data', line + '\n'); }); } }