[前][次][番号順一覧][スレッド一覧]

ruby-changes:32388

From: naruse <ko1@a...>
Date: Tue, 31 Dec 2013 06:16:36 +0900 (JST)
Subject: [ruby-changes:32388] naruse:r44467 (ruby_2_1): fix previous commit

naruse	2013-12-31 06:16:30 +0900 (Tue, 31 Dec 2013)

  New Revision: 44467

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44467

  Log:
    fix previous commit

  Modified files:
    branches/ruby_2_1/test/ruby/test_hash.rb
Index: ruby_2_1/test/ruby/test_hash.rb
===================================================================
--- ruby_2_1/test/ruby/test_hash.rb	(revision 44466)
+++ ruby_2_1/test/ruby/test_hash.rb	(revision 44467)
@@ -558,7 +558,7 @@ class TestHash < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/ruby/test_hash.rb#L558
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]