How does the sentence end?

So
Robert was confident because Randy forgot to study for the upcoming test and Robert studied.