diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-20 07:14:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-20 07:14:38 +0000 |
commit | 8575de71d40b90d33c89bf3d3420824d509da7c5 (patch) | |
tree | 896f4c11a0c6cb72068d70d9b4b7d6941f27abaf /test | |
parent | 30da8b833c1cbfd4df8e008f685a522a2b1ff4c2 (diff) | |
download | ruby-8575de71d40b90d33c89bf3d3420824d509da7c5.tar.gz |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/-ext-/symbol/test_inadvertent_creation.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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]' |