summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_ri_driver.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-10-29 12:57:31 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-10-29 12:57:31 +0900
commitca5812fe4516a10cc687281f9e47e1a08449f1ab (patch)
tree773fd07c772631dbae5a1a6ba8865e919a927435 /test/rdoc/test_rdoc_ri_driver.rb
parent9525541d022c67f4a162f8221bae7de2a172f371 (diff)
Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest"
This reverts commit b4da6fc1c277190bbd10e795ebf3be45772038e8. `make test-all` uses minitest, which led to "undefined method `omit'"
Diffstat (limited to 'test/rdoc/test_rdoc_ri_driver.rb')
-rw-r--r--test/rdoc/test_rdoc_ri_driver.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rdoc/test_rdoc_ri_driver.rb b/test/rdoc/test_rdoc_ri_driver.rb
index 6f17fecec9..4965b3ddd8 100644
--- a/test/rdoc/test_rdoc_ri_driver.rb
+++ b/test/rdoc/test_rdoc_ri_driver.rb
@@ -1029,7 +1029,7 @@ Foo::Bar#bother
end
def test_did_you_mean
- omit 'skip test with did_you_men' unless defined? DidYouMean::SpellChecker
+ skip 'skip test with did_you_men' unless defined? DidYouMean::SpellChecker
util_ancestors_store
@@ -1227,7 +1227,7 @@ Foo::Bar#bother
with_dummy_pager do
@driver.page do |io|
- omit "couldn't find a standard pager" if io == $stdout
+ skip "couldn't find a standard pager" if io == $stdout
assert @driver.paging?
end
@@ -1406,7 +1406,7 @@ Foo::Bar#bother
pager = with_dummy_pager do @driver.setup_pager end
- omit "couldn't find a standard pager" unless pager
+ skip "couldn't find a standard pager" unless pager
assert @driver.paging?
ensure