From 8283feed20943a6b7863a38bcd8f2266310c91c3 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 20 Jun 2009 15:49:34 +0000 Subject: Fixed for_redcloth for latest RedCloth (4.2.0+) versions (issue #119). --- test/functional/basic.rb | 2 +- test/functional/word_list.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 -- cgit v1.2.1