From d4c7e4d5bb96a3b04b6e64a0e358be4381531827 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 4 Jun 2022 16:13:36 +0900 Subject: [ruby/rdoc] Enable pager tests https://github.com/ruby/rdoc/commit/ce63794fde --- test/rdoc/test_rdoc_ri_driver.rb | 8 +++----- 1 file 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 -- cgit v1.2.3