diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-05 13:04:44 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-05 13:04:44 -0800 |
commit | 90acf338b14a31498e8888493b31a90f13978918 (patch) | |
tree | db334f458fbd7b59003a3fe6fe169ebbac59f19b | |
parent | ce1c0319f5ce810541c194c17cbf13a77c972c66 (diff) | |
download | psych-90acf338b14a31498e8888493b31a90f13978918.zip |
only run test on ruby less than 2.0.0
-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 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') |