'Test Fenced Code with Highlighted Lines.'

def testFencedCodeWithHighlightLines(self):

    text = u'\n```hl_lines="1    3"\nline    1\nline    2\nline    3\n```'
    md = markdown.Markdown(extensions=[markdown.extensions.codehilite.CodeHiliteExtension(linenums=None, guess_lang=False), u'markdown.extensions.fenced_code'])
    if self.has_pygments:
        self.assertStartsWith(u'<div    class="codehilite"><pre><span    class="hll"', md.convert(text).replace(u'<span></span>', u''))
    else:
        self.assertEqual(md.convert(text), u'<pre    class="codehilite"><code>line    1\nline    2\nline    3</code></pre>')
