summaryrefslogtreecommitdiff
path: root/test/rdoc
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-11 12:53:49 +0900
committeraycabta <aycabta@gmail.com>2019-08-16 06:07:11 +0900
commitbad937b00b328bbc3c2e374e40880f835d88f1af (patch)
tree5aab2171105932ff729f8bf26b32b66e52edb93d /test/rdoc
parentdaf5ce3ba1545e295ba2efd0ee153638ae446e6e (diff)
Gem::TestCase is based on Minitest
Diffstat (limited to 'test/rdoc')
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb
index 97b0bd999a..7d59577d97 100644
--- a/test/rdoc/test_rdoc_rubygems_hook.rb
+++ b/test/rdoc/test_rdoc_rubygems_hook.rb
@@ -22,7 +22,7 @@ class TestRDocRubygemsHook < Gem::TestCase
begin
RDoc::RubygemsHook.load_rdoc
rescue Gem::DocumentError => e
- omit e.message
+ skip e.message
end
Gem.configuration[:rdoc] = nil
@@ -205,8 +205,8 @@ class TestRDocRubygemsHook < Gem::TestCase
end
def test_remove_unwritable
- omit 'chmod not supported' if Gem.win_platform?
- omit "assumes that euid is not root" if Process.euid == 0
+ skip 'chmod not supported' if Gem.win_platform?
+ skip "assumes that euid is not root" if Process.euid == 0
FileUtils.mkdir_p @a.base_dir
FileUtils.chmod 0, @a.base_dir
@@ -235,8 +235,8 @@ class TestRDocRubygemsHook < Gem::TestCase
end
def test_setup_unwritable
- omit 'chmod not supported' if Gem.win_platform?
- omit "assumes that euid is not root" if Process.euid == 0
+ skip 'chmod not supported' if Gem.win_platform?
+ skip "assumes that euid is not root" if Process.euid == 0
FileUtils.mkdir_p @a.doc_dir
FileUtils.chmod 0, @a.doc_dir