I don't find that trailing whitespace harms readability, so I don't see the point in checking for it. (The check does not pass any more.)