Barney finds out that Ted and Robin split up two weeks before Marshall and Lily's wedding, but kept it secret so they wouldn't overshadow the event.