test: move ArrayStream to common
authorcjihrig <cjihrig@gmail.com>
Wed, 25 Nov 2015 21:38:01 +0000 (16:38 -0500)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:29 +0000 (11:52 -0800)
commitacc3d66934082eb09a831828d272da7229f0371c
treedb2f0667ee01b1cdd9bf07f1c4f95b0cd6b34c50
parent6a7c9d9293023e298f783057c4bade4ff0c14cc9
test: move ArrayStream to common

A number of REPL tests define the same ArrayStream object. This
commit moves the repeated code into common.js.

PR-URL: https://github.com/nodejs/node/pull/4027
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Conflicts:
test/common.js
test/common.js
test/parallel/test-repl-.save.load.js
test/parallel/test-repl-autolibs.js
test/parallel/test-repl-console.js
test/parallel/test-repl-domain.js
test/parallel/test-repl-end-emits-exit.js
test/parallel/test-repl-options.js
test/parallel/test-repl-reset-event.js
test/parallel/test-repl-syntax-error-stack.js
test/parallel/test-repl-tab-complete-crash.js
test/parallel/test-repl-tab-complete.js