summaryrefslogtreecommitdiff
path: root/test/test_tracer.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-09 08:44:48 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-09 08:44:48 +0000
commit2afa9b88ca58f01da79efee709ec0b30d485b18a (patch)
tree1de262b694b89eb57e8284226603556720db265f /test/test_tracer.rb
parent7212ee1328a8812eb3dd8828f1559eb2cf24f256 (diff)
* 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
Diffstat (limited to 'test/test_tracer.rb')
-rw-r--r--test/test_tracer.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_tracer.rb b/test/test_tracer.rb
index 918fed0..12f37ac 100644
--- a/test/test_tracer.rb
+++ b/test/test_tracer.rb
@@ -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