test: refactor test-repl-sigint-nested-eval
- remove debugging code that prints child stdout
- indexOf() -> includes()
- improved messages on assertion failures
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test repl