test: add multiline repl input regression test
This commit adds a regression test for de848ac1, which broke multiline input in the REPL.
This will fail until de848ac1 is reverted or fixed.
Refs: https://github.com/nodejs/node/pull/17828 Refs: https://github.com/nodejs/node/pull/18715
Checklist
- []
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test