comment eol after environment

I’m not sure as to how LaTeX environments are supposed to work, but from my perspective the behavior is acceptable and the test was incorrect. To suppress the space, escape the endline character -- that’s TeX.