summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_rdoc.rb
diff options
context:
space:
mode:
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