summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_rdoc.rb
diff options
context:
space:
mode:
authorYusuke Endoh <[email protected]>2019-10-29 13:16:31 +0900
committerYusuke Endoh <[email protected]>2019-10-29 13:16:31 +0900
commit79a7fd91208989d180027a9fed63db76b0a08cc1 (patch)
tree62517a1e64ebcbe928ba7ad721189d4e4b94452b /test/rdoc/test_rdoc_rdoc.rb
parent1820aeeeb209420e80851d65a42acf188893069b (diff)
Revert "Revert "[ruby/rdoc] Use omit of test-unit instead of skip of minitest""
This reverts commit ca5812fe4516a10cc687281f9e47e1a08449f1ab. Now tool/lib/minitest provides "omit", so it should work.
Diffstat (limited to 'test/rdoc/test_rdoc_rdoc.rb')
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb
index 29e424d429..f2cc901283 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -161,7 +161,7 @@ class TestRDocRDoc < RDoc::TestCase
def test_normalized_file_list_non_file_directory
dev = File::NULL
- skip "#{dev} is not a character special" unless
+ omit "#{dev} is not a character special" unless
File.chardev? dev
files = nil
@@ -355,8 +355,8 @@ class TestRDocRDoc < RDoc::TestCase
end
def test_parse_file_forbidden
- skip 'chmod not supported' if Gem.win_platform?
- skip "assumes that euid is not root" if Process.euid == 0
+ omit 'chmod not supported' if Gem.win_platform?
+ omit "assumes that euid is not root" if Process.euid == 0
@rdoc.store = RDoc::Store.new