aboutsummaryrefslogtreecommitdiffstats
path: root/test/rdoc/test_rdoc_rdoc.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-29 23:34:29 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-29 23:34:29 +0000
commit09af9d7f7ffe1bde891040e0232038130266ccbc (patch)
treedd8ca5acdaa088949c6ddaafa4c80dc7b191bd97 /test/rdoc/test_rdoc_rdoc.rb
parenta22bb18e3e1f48f1155819351bd40c681f971fe0 (diff)
downloadruby-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 'test/rdoc/test_rdoc_rdoc.rb')
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb
index 5519ed36ac..643f1eff77 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -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