2017-11-21 19:24:09 +01:00
|
|
|
'use strict';
|
2018-08-21 14:47:47 -07:00
|
|
|
require('../common');
|
|
|
|
const ArrayStream = require('../common/arraystream');
|
2017-11-21 19:24:09 +01:00
|
|
|
const repl = require('repl');
|
|
|
|
|
|
|
|
// Regression test for https://github.com/nodejs/node/issues/6802
|
2018-08-21 14:47:47 -07:00
|
|
|
const input = new ArrayStream();
|
2017-11-21 19:24:09 +01:00
|
|
|
repl.start({ input, output: process.stdout, useGlobal: true });
|
|
|
|
input.run(['let process']);
|