summaryrefslogtreecommitdiff
path: root/test/-ext-/symbol
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-20 07:14:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-20 07:14:38 +0000
commit8575de71d40b90d33c89bf3d3420824d509da7c5 (patch)
tree896f4c11a0c6cb72068d70d9b4b7d6941f27abaf /test/-ext-/symbol
parent30da8b833c1cbfd4df8e008f685a522a2b1ff4c2 (diff)
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/-ext-/symbol')
-rw-r--r--test/-ext-/symbol/test_inadvertent_creation.rb1
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]'