Skip to content

Commit 2eec51a

Browse files
bassgetatargos
authored andcommitted
test: changed var to const in test
Changed outdated var to const in the test file repl-unexpected-token-recoverable.js PR-URL: #30434 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent fe8c46a commit 2eec51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-repl-unexpected-token-recoverable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const spawn = require('child_process').spawn;
1010
const args = [ '-i' ];
1111
const child = spawn(process.execPath, args);
1212

13-
const input = 'var foo = "bar\\\nbaz"';
13+
const input = 'const foo = "bar\\\nbaz"';
1414
// Match '...' as well since it marks a multi-line statement
1515
const expectOut = /> \.\.\. undefined\n/;
1616

0 commit comments

Comments
 (0)