Skip to content

Commit

Permalink
test: var to const in test-repl-multiline.js
Browse files Browse the repository at this point in the history
PR-URL: #30433
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
soulmonk authored and targos committed Dec 1, 2019
1 parent 325dc23 commit fe8c46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-repl-multiline.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const assert = require('assert');
const repl = require('repl');
const inputStream = new ArrayStream();
const outputStream = new ArrayStream();
const input = ['var foo = {', '};', 'foo;'];
const input = ['const foo = {', '};', 'foo;'];
let output = '';

outputStream.write = (data) => { output += data.replace('\r', ''); };
Expand Down

0 comments on commit fe8c46a

Please sign in to comment.