Update TestTags in sync with Rouge v3.4 (#7709)
Merge pull request 7709
This commit is contained in:
parent
1480c41213
commit
70bc82bacc
|
@ -152,7 +152,7 @@ class TestTags < JekyllUnitTest
|
||||||
%(<table class="rouge-table"><tbody>) +
|
%(<table class="rouge-table"><tbody>) +
|
||||||
%(<tr><td class="gutter gl">) +
|
%(<tr><td class="gutter gl">) +
|
||||||
%(<pre class="lineno">1\n</pre></td>) +
|
%(<pre class="lineno">1\n</pre></td>) +
|
||||||
%(<td class="code"><pre>test</pre></td></tr>) +
|
%(<td class="code"><pre>test\n</pre></td></tr>) +
|
||||||
%(</tbody></table>),
|
%(</tbody></table>),
|
||||||
@result
|
@result
|
||||||
)
|
)
|
||||||
|
@ -275,7 +275,7 @@ class TestTags < JekyllUnitTest
|
||||||
expected = <<~EOS
|
expected = <<~EOS
|
||||||
<p>This is not yet highlighted</p>\n
|
<p>This is not yet highlighted</p>\n
|
||||||
<figure class="highlight"><pre><code class="language-php" data-lang="php"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
|
<figure class="highlight"><pre><code class="language-php" data-lang="php"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
|
||||||
</pre></td><td class="code"><pre><span class="nx">test</span></pre></td></tr></tbody></table></code></pre></figure>\n
|
</pre></td><td class="code"><pre><span class="nx">test</span>\n</pre></td></tr></tbody></table></code></pre></figure>\n
|
||||||
<p>This should not be highlighted, right?</p>
|
<p>This should not be highlighted, right?</p>
|
||||||
EOS
|
EOS
|
||||||
assert_match(expected, @result)
|
assert_match(expected, @result)
|
||||||
|
|
Loading…
Reference in New Issue