'Make sure collapse_linebreaks works on some tricky cases.'

def test_collapse_linebreaks(self):

    eq_(collapse_linebreaks('\r\n     DCTB         \n\r        Trouble\r\n\r\nshooting    \r\n'), '\r\n        Trouble\r\nshooting\r\n')
    eq_(collapse_linebreaks('Application    Basics\n                        \n\n                        \n                        \n\n\n                                \n                                        \n                                                \n                                                        Name'), 'Application    Basics\r\n                                                        Name')
