Next line in this context would mean the sentence ends here (unpunctuated). So, the dog ran.
Thank you!