Revise -Wnewline-eof test per feedback from Dmitri.