From 8456c0603e8a121416445fad5cbe4527db8ca1af Mon Sep 17 00:00:00 2001 From: tenderlove Date: Mon, 5 Mar 2012 21:48:49 +0000 Subject: 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 --- test/psych/test_yamldbm.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/psych') 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') -- cgit v1.2.3