Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lib: repl for #14022
  • Loading branch information
robbinhan committed Aug 15, 2017
commit 141b682bead558d8a6fb93f41ec0146eb25ee475
2 changes: 1 addition & 1 deletion test/parallel/test-repl-load-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function testCodeAligment({ input, cursor = 0, line = '' }) {
const stream = new common.ArrayStream();
const outputStream = new common.ArrayStream();

stream.write = () => { throw new Error('Writing not allowed!'); };
stream.write = common.mustNotCall('writing not allowed');

const replServer = repl.start({
prompt: '> ',
Expand Down