mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* 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
This commit is contained in:
parent
a22bb18e3e
commit
09af9d7f7f
11 changed files with 71 additions and 17 deletions
|
@ -142,8 +142,6 @@ class TestRDocRDoc < RDoc::TestCase
|
|||
end
|
||||
|
||||
def test_parse_file
|
||||
pwd = Dir.pwd
|
||||
|
||||
@rdoc.store = RDoc::Store.new
|
||||
|
||||
temp_dir do |dir|
|
||||
|
@ -153,8 +151,6 @@ class TestRDocRDoc < RDoc::TestCase
|
|||
io.puts 'hi'
|
||||
end
|
||||
|
||||
test_txt = File.join dir, 'test.txt'
|
||||
|
||||
top_level = @rdoc.parse_file 'test.txt'
|
||||
|
||||
assert_equal 'test.txt', top_level.absolute_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue