ruby-changes:29805
From: ko1 <ko1@a...>
Date: Tue, 9 Jul 2013 17:45:03 +0900 (JST)
Subject: [ruby-changes:29805] ko1:r41857 (trunk): * test/test_tracer.rb: catch up recent rubygems changes.
ko1 2013-07-09 17:44:48 +0900 (Tue, 09 Jul 2013) New Revision: 41857 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41857 Log: * test/test_tracer.rb: catch up recent rubygems changes. Modified files: trunk/ChangeLog trunk/test/test_tracer.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 41856) +++ ChangeLog (revision 41857) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Jul 9 17:43:57 2013 Koichi Sasada <ko1@a...> + + * test/test_tracer.rb: catch up recent rubygems changes. + Tue Jul 9 16:58:30 2013 NAKAMURA Usaku <usa@r...> * ext/{dl,fiddle}/win32/lib/win32/registry.rb: hope that the final Index: test/test_tracer.rb =================================================================== --- test/test_tracer.rb (revision 41856) +++ test/test_tracer.rb (revision 41857) @@ -8,12 +8,10 @@ class TestTracer < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_tracer.rb#L8 def test_tracer_with_option_r assert_in_out_err(%w[-rtracer -e 1]) do |(*lines),| case lines.size - when 2 - assert_match(%r{rubygems/core_ext/kernel_require\.rb:\d+:Kernel:<:}, lines[0]) when 1 # do nothing else - flunk "unexpected output from `ruby -rtracer -e 1`: #{lines.inspect}" + assert_match(%r{rubygems/core_ext/kernel_require\.rb:\d+:Kernel:-:}, lines[0]) end assert_equal "#0:-e:1::-: 1", lines.last end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/