Remove unneeded repetition of stdout in assertion.