From 2eec51ab97d33173b470ae413735ce9f6f200e07 Mon Sep 17 00:00:00 2001 From: Kerry Mahne Date: Tue, 12 Nov 2019 16:05:11 +0000 Subject: [PATCH] test: changed var to const in test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- test/parallel/test-repl-unexpected-token-recoverable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-repl-unexpected-token-recoverable.js b/test/parallel/test-repl-unexpected-token-recoverable.js index 888ee81bd4e62a..2461d8f62bd2c8 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/;