ruby-changes:57062
From: Hiroshi <ko1@a...>
Date: Fri, 16 Aug 2019 06:32:23 +0900 (JST)
Subject: [ruby-changes:57062] Hiroshi SHIBATA: bad937b00b (master): Gem::TestCase is based on Minitest
https://git.ruby-lang.org/ruby.git/commit/?id=bad937b00b From bad937b00b328bbc3c2e374e40880f835d88f1af Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sun, 11 Aug 2019 12:53:49 +0900 Subject: Gem::TestCase is based on Minitest diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb index 97b0bd9..7d59577 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 https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rubygems_hook.rb#L22 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 https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rubygems_hook.rb#L205 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 https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rubygems_hook.rb#L235 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/