you could also ``` `./test`.strip == "Test passed."``` if you want to assure that the output.
(Disclaimer - I have not tested this, just wrote down the line)