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
This commit is contained in:
parent
30da8b833c
commit
8575de71d4
@ -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]'
|
||||
|
Loading…
x
Reference in New Issue
Block a user