Skip to content
Snippets Groups Projects
Commit 838f3195 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

Fixed closing tags in syntax highlighting tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3587 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 6a192091
No related merge requests found
......@@ -301,12 +301,12 @@ EXPECTED
raw = <<-RAW
<pre><code class="ruby">
# Some ruby code here
</pre></code>
</code></pre>
RAW
expected = <<-EXPECTED
<pre><code class="ruby syntaxhl"><span class="no">1</span> <span class="c"># Some ruby code here</span>
</pre></code>
</code></pre>
EXPECTED
assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '')
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment