diff options
author | murphy <murphy@rubychan.de> | 2009-06-20 15:49:34 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-06-20 15:49:34 +0000 |
commit | 8283feed20943a6b7863a38bcd8f2266310c91c3 (patch) | |
tree | 1dcbe8871dd4dd10d99cdad9e2fe21e6a7ed6533 | |
parent | 65bb3600b06670f7a8a5293cc24ca3a93932a8b4 (diff) | |
download | coderay-8283feed20943a6b7863a38bcd8f2266310c91c3.tar.gz |
Fixed for_redcloth for latest RedCloth (4.2.0+) versions (issue #119).
-rwxr-xr-x | test/functional/basic.rb | 2 | ||||
-rw-r--r-- | test/functional/word_list.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/basic.rb b/test/functional/basic.rb index 394d525..ed4b3cc 100755 --- a/test/functional/basic.rb +++ b/test/functional/basic.rb @@ -86,7 +86,7 @@ class BasicTest < Test::Unit::TestCase RedCloth.new('bc[ruby]. &').to_html end rescue LoadError - $stderr.puts 'RedCloth not found.' + $stderr.puts 'RedCloth not found - skipping for_redcloth tests.' end def test_list_of_encoders diff --git a/test/functional/word_list.rb b/test/functional/word_list.rb index 4fa8dbb..4399c6a 100644 --- a/test/functional/word_list.rb +++ b/test/functional/word_list.rb @@ -4,7 +4,7 @@ require "coderay" class WordListTest < Test::Unit::TestCase include CodeRay - + # define word arrays RESERVED_WORDS = %w[ asm break case continue default do else |