зеркало из https://github.com/github/ruby.git
* 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:
Родитель
7212ee1328
Коммит
2afa9b88ca
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче