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

ruby-changes:29133

From: akr <ko1@a...>
Date: Sun, 9 Jun 2013 00:57:28 +0900 (JST)
Subject: [ruby-changes:29133] akr:r41184 (trunk): Fix a typo.

akr	2013-06-09 00:57:05 +0900 (Sun, 09 Jun 2013)

  New Revision: 41184

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

  Log:
    Fix a typo.

  Modified files:
    trunk/test/ruby/test_hash.rb

Index: test/ruby/test_hash.rb
===================================================================
--- test/ruby/test_hash.rb	(revision 41183)
+++ test/ruby/test_hash.rb	(revision 41184)
@@ -958,7 +958,7 @@ class TestHash < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_hash.rb#L958
 
     o = Object.new
     def o.hash; 2 << 100; end
-    assert_equal({x=>1}.hash, {x=>1}.hash)
+    assert_equal({o=>1}.hash, {o=>1}.hash)
   end
 
   def test_hash_poped

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

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