ruby-changes:31094
From: ko1 <ko1@a...>
Date: Mon, 7 Oct 2013 16:51:21 +0900 (JST)
Subject: [ruby-changes:31094] ko1:r43173 (trunk): * test/-ext-/debug/test_profile_frames.rb: rename class C to
ko1 2013-10-07 16:51:16 +0900 (Mon, 07 Oct 2013) New Revision: 43173 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43173 Log: * test/-ext-/debug/test_profile_frames.rb: rename class C to something long name because one test depends on absence of class ::C. Modified files: trunk/ChangeLog trunk/test/-ext-/debug/test_profile_frames.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 43172) +++ ChangeLog (revision 43173) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Oct 7 16:47:27 2013 Koichi Sasada <ko1@a...> + + * test/-ext-/debug/test_profile_frames.rb: rename class C to + something long name because one test depends on absence of + class ::C. + Mon Oct 7 16:33:10 2013 Koichi Sasada <ko1@a...> * ext/-test-/debug/profile_frames.c: Index: test/-ext-/debug/test_profile_frames.rb =================================================================== --- test/-ext-/debug/test_profile_frames.rb (revision 43172) +++ test/-ext-/debug/test_profile_frames.rb (revision 43173) @@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/test/-ext-/debug/test_profile_frames.rb#L1 require 'test/unit' require '-test-/debug' -class C +class SampleClassForTestProfileFrames def self.bar(block) block.call end @@ -14,7 +14,7 @@ end https://github.com/ruby/ruby/blob/trunk/test/-ext-/debug/test_profile_frames.rb#L14 class TestProfileFrames < Test::Unit::TestCase def test_profile_frames frames = Fiber.new{ - Fiber.yield C.new.foo(lambda{ Bug::Debug.profile_frames(0, 10) }) + Fiber.yield SampleClassForTestProfileFrames.new.foo(lambda{ Bug::Debug.profile_frames(0, 10) }) }.resume assert_equal(4, frames.size) @@ -33,8 +33,8 @@ class TestProfileFrames < Test::Unit::Te https://github.com/ruby/ruby/blob/trunk/test/-ext-/debug/test_profile_frames.rb#L33 ] classes = [ TestProfileFrames, - C, # singleton method - C, + SampleClassForTestProfileFrames, # singleton method + SampleClassForTestProfileFrames, TestProfileFrames, ] singleton_method_p = [ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/