Fix trailing newlines in spec examples.