Skip to content

Commit df1d735

Browse files
bassgetaMylesBorins
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 <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>
1 parent cf9da71 commit df1d735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)