mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/test_tracer.rb: catch up recent rubygems changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7212ee1328
commit
2afa9b88ca
2 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Jul 9 17:43:57 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/test_tracer.rb: catch up recent rubygems changes.
|
||||
|
||||
Tue Jul 9 16:58:30 2013 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/{dl,fiddle}/win32/lib/win32/registry.rb: hope that the final
|
||||
|
|
|
@ -8,12 +8,10 @@ class TestTracer < Test::Unit::TestCase
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue