summaryrefslogtreecommitdiff
path: root/test/sdbm
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-20 09:18:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-20 09:18:36 +0000
commitc76ebddc9f46e577c9581327fcc84bd8d8809e02 (patch)
tree2f97c594ddf01dddf159f4c611a775366c8f3127 /test/sdbm
parent07b6816583451e41d9e6a97fe97ef366b0539828 (diff)
test_sdbm.rb: only if SDBM
* test/sdbm/test_sdbm.rb (TestSDBM): test only if SDBM is loadable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/sdbm')
-rw-r--r--test/sdbm/test_sdbm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sdbm/test_sdbm.rb b/test/sdbm/test_sdbm.rb
index e59e011..9068c4c 100644
--- a/test/sdbm/test_sdbm.rb
+++ b/test/sdbm/test_sdbm.rb
@@ -538,5 +538,5 @@ class TestSDBM < Test::Unit::TestCase
end
assert_raise(ArgumentError) { @sdbm.update(obj) }
end
-end
+end if defined? SDBM