From fe8c46a924475b58a0101d6e2a1cbade5ff564b5 Mon Sep 17 00:00:00 2001 From: SoulMonk Date: Tue, 12 Nov 2019 15:47:06 +0000 Subject: [PATCH] test: var to const in test-repl-multiline.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/30433 Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: David Carlier Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- test/parallel/test-repl-multiline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', ''); };