'https://github.com/andresriancho/w3af/issues/12220'

def test_get_desc_new_line(self):

    i = MockInfo(desc='This    is    a    rather    long    and    complex    desc    which    hasa    new    line    at    the    end.\n\n')
    self.assertIn('\n\nThis    information    was', i.get_desc())
