summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-03-05 13:04:44 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-03-05 13:04:44 -0800
commit90acf338b14a31498e8888493b31a90f13978918 (patch)
treedb334f458fbd7b59003a3fe6fe169ebbac59f19b /test
parentce1c0319f5ce810541c194c17cbf13a77c972c66 (diff)
downloadpsych-90acf338b14a31498e8888493b31a90f13978918.zip
only run test on ruby less than 2.0.0
Diffstat (limited to 'test')
-rw-r--r--test/psych/test_yamldbm.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/psych/test_yamldbm.rb b/test/psych/test_yamldbm.rb
index bff1363..d978003 100644
--- a/test/psych/test_yamldbm.rb
+++ b/test/psych/test_yamldbm.rb
@@ -81,6 +81,7 @@ module Psych
# end
def test_key
+ skip 'only on ruby 2.0.0' if RUBY_VERSION < '2.0.0'
@yamldbm['a'] = 'b'
@yamldbm['c'] = 'd'
assert_equal 'a', @yamldbm.key('b')