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 <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>
  • Loading branch information
bassgeta authored and MylesBorins committed Dec 17, 2019
1 parent cf9da71 commit df1d735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-repl-unexpected-token-recoverable.js
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 df1d735

Please sign in to comment.