Fixed closing tags in syntax highlighting tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3587 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6a1920915c
commit
838f3195e7
|
@ -301,12 +301,12 @@ EXPECTED
|
||||||
raw = <<-RAW
|
raw = <<-RAW
|
||||||
<pre><code class="ruby">
|
<pre><code class="ruby">
|
||||||
# Some ruby code here
|
# Some ruby code here
|
||||||
</pre></code>
|
</code></pre>
|
||||||
RAW
|
RAW
|
||||||
|
|
||||||
expected = <<-EXPECTED
|
expected = <<-EXPECTED
|
||||||
<pre><code class="ruby syntaxhl"><span class="no">1</span> <span class="c"># Some ruby code here</span>
|
<pre><code class="ruby syntaxhl"><span class="no">1</span> <span class="c"># Some ruby code here</span>
|
||||||
</pre></code>
|
</code></pre>
|
||||||
EXPECTED
|
EXPECTED
|
||||||
|
|
||||||
assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '')
|
assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '')
|
||||||
|
|
Loading…
Reference in New Issue