summaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-06-16 10:46:27 +0000
committerGo MAEDA <maeda@farend.jp>2019-06-16 10:46:27 +0000
commitdd55d8f7e71620c1c8e85f765ac124d71acaed20 (patch)
tree455c06cecc85135a3e2bab25d36a1f210d18f123 /test/helpers
parent9cdd8bf039c78017ff80283ef76c2f45783ec987 (diff)
downloadredmine-dd55d8f7e71620c1c8e85f765ac124d71acaed20.tar.gz
redmine-dd55d8f7e71620c1c8e85f765ac124d71acaed20.zip
Update Rouge to 3.4.1 (#31556).
Patch by Marius BALTEANU and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18258 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/application_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index e5feebdd9..f46720120 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -1165,7 +1165,7 @@ document.write("Hello World!");
RAW
expected = <<-EXPECTED
-<pre><code class=\"ECMA_script syntaxhl\"><span class=\"cm\">/* Hello */</span><span class=\"nb\">document</span><span class=\"p\">.</span><span class=\"nx\">write</span><span class=\"p\">(</span><span class=\"s2\">\"Hello World!\"</span><span class=\"p\">);</span></code></pre>
+<pre><code class="ECMA_script syntaxhl"><span class="cm">/* Hello */</span><span class="nb">document</span><span class="p">.</span><span class="nx">write</span><span class="p">(</span><span class="dl">"</span><span class="s2">Hello World!</span><span class="dl">"</span><span class="p">);</span></code></pre>
EXPECTED
assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(raw).gsub(%r{[\r\n\t]}, '')