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:
Jean-Philippe Lang 2010-03-15 19:33:05 +00:00
parent 6a1920915c
commit 838f3195e7
1 changed files with 2 additions and 2 deletions

View File

@ -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]}, '')