Skip to content
Permalink
Browse files

test: var to const in test-repl-multiline.js

PR-URL: #30433
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: David Carlier <devnexen@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
soulmonk authored and MylesBorins committed Nov 12, 2019
1 parent 2e70ad3 commit cf9da71e97074373ce9f70e54dd667446f5ae61f
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-repl-multiline.js
@@ -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', ''); };

0 comments on commit cf9da71

Please sign in to comment.
You can’t perform that action at this time.