summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-06 11:54:09 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-06 13:11:29 +0900
commita68a1b0b7d23e03f71044f6d5f9781b4913bcb08 (patch)
tree10c679d6c67bc1bfded17c0539360ade360567cf /test
parent540eea39ddd358780a6002cbf60a37a79c27c61f (diff)
Removed MiniTest::Assertion from test/rdoc
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4811
Diffstat (limited to 'test')
-rw-r--r--test/rdoc/test_rdoc_generator_darkfish.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/rdoc/test_rdoc_generator_darkfish.rb b/test/rdoc/test_rdoc_generator_darkfish.rb
index 3de4f8b6d6..0f863aec6c 100644
--- a/test/rdoc/test_rdoc_generator_darkfish.rb
+++ b/test/rdoc/test_rdoc_generator_darkfish.rb
@@ -142,12 +142,7 @@ class TestRDocGeneratorDarkfish < RDoc::TestCase
@g.install_rdoc_static_file src, dst, options
assert_file dst
-
- begin
- assert_hard_link dst
- rescue MiniTest::Assertion
- return # hard links are not supported, no further tests needed
- end
+ assert_hard_link dst
@g.install_rdoc_static_file src, dst, options