Skip to content

Commit ea1398a

Browse files
committed
Gem::TestCase is based on Minitest
1 parent 2ac9256 commit ea1398a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/rdoc/test_rdoc_rubygems_hook.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def setup
2222
begin
2323
RDoc::RubygemsHook.load_rdoc
2424
rescue Gem::DocumentError => e
25-
omit e.message
25+
skip e.message
2626
end
2727

2828
Gem.configuration[:rdoc] = nil
@@ -200,8 +200,8 @@ def test_remove
200200
end
201201

202202
def test_remove_unwritable
203-
omit 'chmod not supported' if Gem.win_platform?
204-
omit "assumes that euid is not root" if Process.euid == 0
203+
skip 'chmod not supported' if Gem.win_platform?
204+
skip "assumes that euid is not root" if Process.euid == 0
205205

206206
FileUtils.mkdir_p @a.base_dir
207207
FileUtils.chmod 0, @a.base_dir
@@ -230,8 +230,8 @@ def test_setup
230230
end
231231

232232
def test_setup_unwritable
233-
omit 'chmod not supported' if Gem.win_platform?
234-
omit "assumes that euid is not root" if Process.euid == 0
233+
skip 'chmod not supported' if Gem.win_platform?
234+
skip "assumes that euid is not root" if Process.euid == 0
235235

236236
FileUtils.mkdir_p @a.doc_dir
237237
FileUtils.chmod 0, @a.doc_dir

0 commit comments

Comments
 (0)