diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-19 06:11:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-19 06:11:29 +0000 |
commit | cc144d1d5f52c91ac9e665e59cda325846183af6 (patch) | |
tree | b8984b609b3dc1afd687825457cccc413aaaaaf6 /test/ruby/test_method.rb | |
parent | 6398515adfc86813686605019a3e22d49cd95517 (diff) | |
download | ruby-cc144d1d5f52c91ac9e665e59cda325846183af6.tar.gz |
test_method.rb: fix commit miss
* test/ruby/test_method.rb (test_define_singleton_method_no_proc):
fix missing object. [Bug #11283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_method.rb')
-rw-r--r-- | test/ruby/test_method.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb index 911896d0b0..5de28cbbec 100644 --- a/test/ruby/test_method.rb +++ b/test/ruby/test_method.rb @@ -297,6 +297,7 @@ class TestMethod < Test::Unit::TestCase end def test_define_singleton_method_no_proc + o = Object.new assert_raise(ArgumentError) { o.instance_eval { define_singleton_method(:bar) } } |