ruby-changes:38892
From: nobu <ko1@a...>
Date: Fri, 19 Jun 2015 15:11:41 +0900 (JST)
Subject: [ruby-changes:38892] nobu:r50973 (trunk): test_method.rb: fix commit miss
nobu 2015-06-19 15:11:29 +0900 (Fri, 19 Jun 2015) New Revision: 50973 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50973 Log: test_method.rb: fix commit miss * test/ruby/test_method.rb (test_define_singleton_method_no_proc): fix missing object. [Bug #11283] Modified files: trunk/test/ruby/test_method.rb Index: test/ruby/test_method.rb =================================================================== --- test/ruby/test_method.rb (revision 50972) +++ test/ruby/test_method.rb (revision 50973) @@ -297,6 +297,7 @@ class TestMethod < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_method.rb#L297 end def test_define_singleton_method_no_proc + o = Object.new assert_raise(ArgumentError) { o.instance_eval { define_singleton_method(:bar) } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/