From 8575de71d40b90d33c89bf3d3420824d509da7c5 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 20 Mar 2015 07:14:38 +0000 Subject: test_inadvertent_creation.rb: undefined singleton * test/-ext-/symbol/test_inadvertent_creation.rb (test_undefined_method): test Kernel#singleton_method too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/-ext-/symbol/test_inadvertent_creation.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/-ext-') diff --git a/test/-ext-/symbol/test_inadvertent_creation.rb b/test/-ext-/symbol/test_inadvertent_creation.rb index 4e7a85fd91..f6cfe65e85 100644 --- a/test/-ext-/symbol/test_inadvertent_creation.rb +++ b/test/-ext-/symbol/test_inadvertent_creation.rb @@ -120,6 +120,7 @@ module Test_Symbol assert_not_interned_error(c, :public_method, s, feature5079) assert_not_interned_error(c, :instance_method, s, feature5079) assert_not_interned_error(c, :public_instance_method, s, feature5079) + assert_not_interned_error(c, :singleton_method, s, feature5079) end Feature5089 = '[ruby-core:38447]' -- cgit v1.2.3