diff options
author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-14 02:02:12 +0000 |
---|---|---|
committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-14 02:02:12 +0000 |
commit | f52c2cc24d1070f1997921c1d870cdd55327ba2a (patch) | |
tree | 4cc19851c0a696bda9d17671ed15b980409bdce5 /test/test_tracer.rb | |
parent | 8409156e243f670590708742354c8af6a99def3b (diff) | |
download | ruby-f52c2cc24d1070f1997921c1d870cdd55327ba2a.tar.gz |
Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_tracer.rb')
-rw-r--r-- | test/test_tracer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_tracer.rb b/test/test_tracer.rb index 2580205338..8f542e6e84 100644 --- a/test/test_tracer.rb +++ b/test/test_tracer.rb @@ -5,16 +5,16 @@ class TestTracer < Test::Unit::TestCase include EnvUtil def test_work_with_e - assert_in_out_err(%w[-rtracer -e 1]) do |(*lines),| + assert_in_out_err(%w[--disable-gems -rtracer -e 1]) do |(*lines),| case lines.size when 2 assert_match %r[#0:<internal:lib/rubygems/custom_require>:\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`" end - assert_equal "#0:-e:1::-: 1", lines[1] + assert_equal "#0:-e:1::-: 1", lines.last end end end |