testing: Avoid printing expected line twice
When the line has trailing whitespace we already print it with a
carriage return symbol at the end, don't print it one more time.
b0e905a30dLemonBoy committed on 4/9/2021, 5:04:16 PM· committed by Andrew Kelleyparent1943c2d