summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 91fbe35f85..51aff52714 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
- assert_equal(%w[lib/rdoc.rb],
- @rdoc.gather_files(%w[lib/rdoc.rb lib/rdoc.rb]))
+ file = File.expand_path("../../../lib/rdoc.rb", __FILE__)
+ assert_equal([file], @rdoc.gather_files([file, file]))
end
def test_read_file_contents