summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKerry Mahne <kerry.mahne@gmail.com>2019-11-12 16:05:11 +0000
committerGireesh Punathil <gpunathi@in.ibm.com>2019-11-17 19:43:12 +0530
commitdcbb2ecb49ddad4d4bbbd87aee38bba00f2bb4f4 (patch)
treeb3ec54a05ebc5376f04f8c6c0bee21a0f0a606fd /test
parent366ec2f1f92b63b0dd32526244a1b92b7bc3cf9c (diff)
downloadandroid-node-v8-dcbb2ecb49ddad4d4bbbd87aee38bba00f2bb4f4.tar.gz
android-node-v8-dcbb2ecb49ddad4d4bbbd87aee38bba00f2bb4f4.tar.bz2
android-node-v8-dcbb2ecb49ddad4d4bbbd87aee38bba00f2bb4f4.zip
test: changed var to const in test
Changed outdated var to const in the test file repl-unexpected-token-recoverable.js PR-URL: https://github.com/nodejs/node/pull/30434 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: 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')
-rw-r--r--test/parallel/test-repl-unexpected-token-recoverable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-repl-unexpected-token-recoverable.js b/test/parallel/test-repl-unexpected-token-recoverable.js
index 888ee81bd4..2461d8f62b 100644
--- a/test/parallel/test-repl-unexpected-token-recoverable.js
+++ b/test/parallel/test-repl-unexpected-token-recoverable.js
@@ -10,7 +10,7 @@ const spawn = require('child_process').spawn;
const args = [ '-i' ];
const child = spawn(process.execPath, args);
-const input = 'var foo = "bar\\\nbaz"';
+const input = 'const foo = "bar\\\nbaz"';
// Match '...' as well since it marks a multi-line statement
const expectOut = /> \.\.\. undefined\n/;