[前][次][番号順一覧][スレッド一覧]

ruby-changes:37953

From: nobu <ko1@a...>
Date: Fri, 20 Mar 2015 16:14:58 +0900 (JST)
Subject: [ruby-changes:37953] nobu:r50034 (trunk): test_inadvertent_creation.rb: undefined singleton

nobu	2015-03-20 16:14:38 +0900 (Fri, 20 Mar 2015)

  New Revision: 50034

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50034

  Log:
    test_inadvertent_creation.rb: undefined singleton
    
    * test/-ext-/symbol/test_inadvertent_creation.rb (test_undefined_method):
      test Kernel#singleton_method too.

  Modified files:
    trunk/test/-ext-/symbol/test_inadvertent_creation.rb
Index: test/-ext-/symbol/test_inadvertent_creation.rb
===================================================================
--- test/-ext-/symbol/test_inadvertent_creation.rb	(revision 50033)
+++ test/-ext-/symbol/test_inadvertent_creation.rb	(revision 50034)
@@ -120,6 +120,7 @@ module Test_Symbol https://github.com/ruby/ruby/blob/trunk/test/-ext-/symbol/test_inadvertent_creation.rb#L120
       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]'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]