All of the other tests already check that the output ends with the expected
output and isn’t exactly equal to it. This is because I don’t have enough
control over (or don’t know enough about) the output Emacs and other packages
generate. In order to prevent false-positives from happening as is happening
with ‘scheme-mode’, I don’t check what’s before the output I expect.
The false-positive that’s happening with ‘scheme-mode’ is an issue that it seems
like ‘geiser’ has started complaining that it can’t find ‘guile’, which is
expected.
In bats, when you print to stdout during a test, if the test fails bats will
show the output that was generated. If everything succeeds it hides the output.