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 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.