diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 23:34:29 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 23:34:29 +0000 |
commit | 09af9d7f7ffe1bde891040e0232038130266ccbc (patch) | |
tree | dd8ca5acdaa088949c6ddaafa4c80dc7b191bd97 /lib/rdoc/test_case.rb | |
parent | a22bb18e3e1f48f1155819351bd40c681f971fe0 (diff) | |
download | ruby-09af9d7f7ffe1bde891040e0232038130266ccbc.tar.gz |
* lib/rdoc/generator/darkfish.rb: Silenced warning
* test/rdoc/test_rdoc_rdoc.rb: ditto
* lib/rdoc/markup/parser.rb: Use byteslice when available for
performance
* test/rdoc/test_rdoc_markup_parser.rb: Test for above
* lib/rdoc/test_case.rb: ditto
* lib/rdoc/parser/ruby.rb: Fixed bug parsing yield({})
* test/rdoc/test_rdoc_parser_ruby.rb (end):
* lib/rdoc/rubygems_hook.rb: Skip default gems. Display generator
name properly.
* test/rdoc/test_rdoc_rubygems_hook.rb: Test for above
* lib/rdoc/servlet.rb: Fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/test_case.rb')
-rw-r--r-- | lib/rdoc/test_case.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rdoc/test_case.rb b/lib/rdoc/test_case.rb index e5b7288e5a..c69e3c7cc6 100644 --- a/lib/rdoc/test_case.rb +++ b/lib/rdoc/test_case.rb @@ -33,6 +33,8 @@ class RDoc::TestCase < MiniTest::Unit::TestCase @top_level = nil + @have_encoding = Object.const_defined? :Encoding + @RM = RDoc::Markup RDoc::Markup::PreProcess.reset |