summaryrefslogtreecommitdiff
path: root/test/gdbm/test_gdbm.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-11 13:56:04 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-11 13:56:04 +0000
commitcf6f729213566343775ac99ef8a2238dd4f0bfac (patch)
treec675c4eaaa1a16b44edb77e7f4b12c0315cde11c /test/gdbm/test_gdbm.rb
parent69c8feb253d7cd2f7fd6ec02763a35747f194bc4 (diff)
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
Diffstat (limited to 'test/gdbm/test_gdbm.rb')
-rw-r--r--test/gdbm/test_gdbm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index 9e97eb3587..7f7ab6aab9 100644
--- a/test/gdbm/test_gdbm.rb
+++ b/test/gdbm/test_gdbm.rb
@@ -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) {