diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-05 21:48:49 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-05 21:48:49 +0000 |
commit | 8456c0603e8a121416445fad5cbe4527db8ca1af (patch) | |
tree | b35caae202d31053871ca9ac362f42788b1c4f2d | |
parent | 62ffffbe25a7a61a825f5b04399b9250f1af5ec0 (diff) | |
download | ruby-8456c0603e8a121416445fad5cbe4527db8ca1af.tar.gz |
only run `test_key` on ruby 2.0.0 or up
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/psych/test_yamldbm.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/psych/test_yamldbm.rb b/test/psych/test_yamldbm.rb index bff13635ab..d9780035f2 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') |