1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix indent and use as skipped message instead of comment

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2018-01-11 13:56:04 +00:00
parent 69c8feb253
commit cf6f729213
2 changed files with 2 additions and 2 deletions

View file

@ -213,7 +213,7 @@ if defined? GDBM
end if defined? GDBM::NOLOCK # gdbm 1.8.0 specific
def test_s_open_error
skip if Process.uid == 0 # because root can open anything
skip "because root can open anything" if Process.uid == 0
assert_instance_of(GDBM, gdbm = GDBM.open("#{@tmpdir}/#{@prefix}", 0))
assert_raise(Errno::EACCES, Errno::EWOULDBLOCK) {

View file

@ -104,7 +104,7 @@ class TestFind < Test::Unit::TestCase
def test_unreadable_dir
skip "no meaning test on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM
skip if Process.uid == 0 # because root can read anything
skip "because root can read anything" if Process.uid == 0
Dir.mktmpdir {|d|
Dir.mkdir(dir = "#{d}/dir")