aboutsummaryrefslogtreecommitdiffstats
path: root/test/rdoc/test_rdoc_rdoc.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-10 06:36:13 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-10 06:36:13 +0000
commit1325437297539bf433904b64db63a3186e62177e (patch)
tree01608a107ec3939b1013152d961b6407a5ba9c25 /test/rdoc/test_rdoc_rdoc.rb
parentce2b574017cacc2c3f2b0e92f82a7f250639fc34 (diff)
downloadruby-1325437297539bf433904b64db63a3186e62177e.tar.gz
* lib/rdoc: Import RDoc 2.5.2
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): Don't parse rdoc files, reverts r24976 in favor of include directive support in C parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27283 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, 2 insertions, 2 deletions
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb
index 51aff52714..7c8f7778d8 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -15,8 +15,8 @@ class TestRDocRDoc < MiniTest::Unit::TestCase
end
def test_gather_files
- file = File.expand_path("../../../lib/rdoc.rb", __FILE__)
- assert_equal([file], @rdoc.gather_files([file, file]))
+ file = File.expand_path __FILE__
+ assert_equal [file], @rdoc.gather_files([file, file])
end
def test_read_file_contents