expect_stdout
allow test to pass if both `input` and `expect` throws the same kind of error
test/run-tests.js
fixes #1588