ruby-changes:22124
From: ktsj <ko1@a...>
Date: Mon, 2 Jan 2012 15:29:13 +0900 (JST)
Subject: [ruby-changes:22124] ktsj:r34173 (trunk): * test/ruby/test_object.rb (test_send_with_block): add a normal case.
ktsj 2012-01-02 15:29:03 +0900 (Mon, 02 Jan 2012) New Revision: 34173 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34173 Log: * test/ruby/test_object.rb (test_send_with_block): add a normal case. Modified files: trunk/ChangeLog trunk/test/ruby/test_object.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 34172) +++ ChangeLog (revision 34173) @@ -1,3 +1,7 @@ +Mon Jan 2 15:26:39 2012 Kazuki Tsujimoto <kazuki@c...> + + * test/ruby/test_object.rb (test_send_with_block): add a normal case. + Mon Jan 2 15:18:54 2012 Kazuki Tsujimoto <kazuki@c...> * test/ruby/test_object.rb (test_send_with_block): moved from Index: test/ruby/test_object.rb =================================================================== --- test/ruby/test_object.rb (revision 34172) +++ test/ruby/test_object.rb (revision 34173) @@ -438,6 +438,10 @@ end def test_send_with_block + x = :ng + 1.send(:times) { x = :ok } + assert_equal(:ok, x) + x = :ok o = Object.new def o.inspect -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/