Do not print needless newlines in check.