summaryrefslogtreecommitdiff
path: root/test/test_tracer.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-29 08:22:04 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-29 08:22:04 +0000
commit88f5a4ff2d2201a455a4b056acccefd42eb18ac4 (patch)
tree52e87432153e848d3ff2467f17164cc5fe220a33 /test/test_tracer.rb
parent8baab38ad20024d1f5d248a1c97bf144bc9e39e0 (diff)
* lib/tracer.rb: Updated to match removal of custom_require from
RubyGems. * test/test_tracer.rb: ditto. Improved failure message if the test fails git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_tracer.rb')
-rw-r--r--test/test_tracer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_tracer.rb b/test/test_tracer.rb
index a1e0a45..918fed0 100644
--- a/test/test_tracer.rb
+++ b/test/test_tracer.rb
@@ -9,11 +9,11 @@ class TestTracer < Test::Unit::TestCase
assert_in_out_err(%w[-rtracer -e 1]) do |(*lines),|
case lines.size
when 2
- assert_match(%r{rubygems/custom_require\.rb:\d+:Kernel:<:}, lines[0])
+ 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`"
+ flunk "unexpected output from `ruby -rtracer -e 1`: #{lines.inspect}"
end
assert_equal "#0:-e:1::-: 1", lines.last
end