aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-06-04 16:13:36 +0900
committergit <svn-admin@ruby-lang.org>2022-06-04 16:42:09 +0900
commitd4c7e4d5bb96a3b04b6e64a0e358be4381531827 (patch)
tree64b8cd940dd04c53adabe01618a5f86a4178bc7e
parent323acd263aff3cc29786a55d4604f240a9cbab46 (diff)
downloadruby-d4c7e4d5bb96a3b04b6e64a0e358be4381531827.tar.gz
[ruby/rdoc] Enable pager tests
https://github.com/ruby/rdoc/commit/ce63794fde
-rw-r--r--test/rdoc/test_rdoc_ri_driver.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/rdoc/test_rdoc_ri_driver.rb b/test/rdoc/test_rdoc_ri_driver.rb
index 5f3468c368..18f92d0168 100644
--- a/test/rdoc/test_rdoc_ri_driver.rb
+++ b/test/rdoc/test_rdoc_ri_driver.rb
@@ -1246,7 +1246,7 @@ Foo::Bar#bother
assert_equal '(unknown)#inherit', method.full_name
end
- def _test_page # this test doesn't do anything anymore :(
+ def test_page
@driver.use_stdout = false
with_dummy_pager do
@@ -1260,9 +1260,7 @@ Foo::Bar#bother
refute @driver.paging?
end
- # this test is too fragile. Perhaps using Process.spawn will make this
- # reliable
- def _test_page_in_presence_of_child_status
+ def test_page_in_presence_of_child_status
@driver.use_stdout = false
with_dummy_pager do
@@ -1425,7 +1423,7 @@ Foo::Bar#bother
end
end
- def _test_setup_pager # this test doesn't do anything anymore :(
+ def test_setup_pager # this test doesn't do anything anymore :(
@driver.use_stdout = false
pager = with_dummy_pager do @driver.setup_pager end