summaryrefslogtreecommitdiff
path: root/test/yaml/test_dbm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/yaml/test_dbm.rb')
-rw-r--r--test/yaml/test_dbm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/yaml/test_dbm.rb b/test/yaml/test_dbm.rb
index 15d441d23b..cf50256298 100644
--- a/test/yaml/test_dbm.rb
+++ b/test/yaml/test_dbm.rb
@@ -43,4 +43,4 @@ class TestYAMLDBM < Test::Unit::TestCase
@dbm["key"] = "value"
assert_equal ["key", "value"], @dbm.shift
end
-end \ No newline at end of file
+end if defined?(YAML::DBM)