mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: changed var to const in test
Changed outdated var to const in the test file repl-unexpected-token-recoverable.js PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
committed by
Gireesh Punathil
parent
366ec2f1f9
commit
dcbb2ecb49
@@ -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/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user