summaryrefslogtreecommitdiff
path: root/test/ruby/test_hash.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-30 21:16:30 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-30 21:16:30 +0000
commit41deb12e9d6646b42ef0e011509870f6ddf383c5 (patch)
treea5773d7c14a2d8c910e46287635b575b227a216d /test/ruby/test_hash.rb
parente1536a74243b4c6b006ea51d93ee42b28f234955 (diff)
fix previous commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_hash.rb')
-rw-r--r--test/ruby/test_hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index 82388fdf9e..84346704bb 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -558,7 +558,7 @@ class TestHash < Test::Unit::TestCase
assert_equal(h3, h.reject {|k,v| v })
assert_equal(base, h)
- return unless RUBY_VERSION < "2.2.0" # [ruby-core:59154] [Bug #9223]
+ return unless RUBY_VERSION >= "2.2.0" # [ruby-core:59154] [Bug #9223]
h.instance_variable_set(:@foo, :foo)
h.default = 42