tests were seeing line as an assertion that wasn’t even in a test

Changing it in this way somehow fixed the situation. I have a lot to learn about this WTF.