summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-multiline.js
diff options
context:
space:
mode:
authorSoulMonk <fsoulmonk@gmail.com>2019-11-12 15:47:06 +0000
committerGireesh Punathil <gpunathi@in.ibm.com>2019-11-17 19:03:15 +0530
commit366ec2f1f92b63b0dd32526244a1b92b7bc3cf9c (patch)
tree9c7c0e65e438bf3b27616eb5d5cb915660132eba /test/parallel/test-repl-multiline.js
parent9f271b8f38f7104e031938c17149a48273a435f3 (diff)
downloadandroid-node-v8-366ec2f1f92b63b0dd32526244a1b92b7bc3cf9c.tar.gz
android-node-v8-366ec2f1f92b63b0dd32526244a1b92b7bc3cf9c.tar.bz2
android-node-v8-366ec2f1f92b63b0dd32526244a1b92b7bc3cf9c.zip
test: var to const in test-repl-multiline.js
PR-URL: https://github.com/nodejs/node/pull/30433 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test/parallel/test-repl-multiline.js')
-rw-r--r--test/parallel/test-repl-multiline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-repl-multiline.js b/test/parallel/test-repl-multiline.js
index f789c06bf3..454d5b1019 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', ''); };