diff --git a/test/parallel/test-repl-multiline.js b/test/parallel/test-repl-multiline.js index f789c06bf39378..454d5b10192fa5 100644 --- a/test/parallel/test-repl-multiline.js +++ b/test/parallel/test-repl-multiline.js @@ -5,7 +5,7 @@ const assert = require('assert'); const repl = require('repl'); const inputStream = new ArrayStream(); const outputStream = new ArrayStream(); -const input = ['var foo = {', '};', 'foo;']; +const input = ['const foo = {', '};', 'foo;']; let output = ''; outputStream.write = (data) => { output += data.replace('\r', ''); };