diff options
author | murphy <murphy@rubychan.de> | 2010-06-01 22:10:24 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-06-01 22:10:24 +0000 |
commit | 94d04c5dea0284d9ea35f558e8ed2a464f25edee (patch) | |
tree | ca356dabf1a16ca758a173e463016bc5f8656f68 /test | |
parent | a5c8578cf92373eae4ca41abea113593ad8546a9 (diff) | |
download | coderay-94d04c5dea0284d9ea35f558e8ed2a464f25edee.tar.gz |
Fixed for_redcloth tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/for_redcloth.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/for_redcloth.rb b/test/functional/for_redcloth.rb index a8a737a..1aeae78 100644 --- a/test/functional/for_redcloth.rb +++ b/test/functional/for_redcloth.rb @@ -14,11 +14,11 @@ class BasicTest < Test::Unit::TestCase def test_for_redcloth require 'coderay/for_redcloth' - assert_equal "<p><span lang=\"ruby\" class=\"CodeRay\">puts <span style=\"background-color:hsla(0,100%,50%,0.1);color:#D20\"><span style=\"color:#710\">"</span><span style=\"\">Hello, World!</span><span style=\"color:#710\">"</span></span></span></p>", + assert_equal "<p><span lang=\"ruby\" class=\"CodeRay\">puts <span style=\"background-color:hsla(0,100%,50%,0.1)\"><span style=\"color:#710\">"</span><span style=\"color:#D20\">Hello, World!</span><span style=\"color:#710\">"</span></span></span></p>", RedCloth.new('@[ruby]puts "Hello, World!"@').to_html assert_equal <<-BLOCKCODE.chomp, <div lang="ruby" class="CodeRay"> - <div class="code"><pre>puts <span style="background-color:hsla(0,100%,50%,0.1);color:#D20"><span style="color:#710">"</span><span style="">Hello, World!</span><span style="color:#710">"</span></span></pre></div> + <div class="code"><pre>puts <span style="background-color:hsla(0,100%,50%,0.1)"><span style="color:#710">"</span><span style="color:#D20">Hello, World!</span><span style="color:#710">"</span></span></pre></div> </div> BLOCKCODE RedCloth.new('bc[ruby]. puts "Hello, World!"').to_html |