Skip to content

Commit

Permalink
test: changed var to const in test
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bassgeta authored and targos committed Dec 1, 2019
1 parent fe8c46a commit 2eec51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-repl-unexpected-token-recoverable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/;

Expand Down

0 comments on commit 2eec51a

Please sign in to comment.