mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (rb_gc_set_params): allow GC parameter configuration by
environment variables. based on a patch from funny-falcon at https://gist.github.com/856296, but honors safe level. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c414d861c1
commit
eb807d42ec
67 changed files with 773 additions and 1845 deletions
|
@ -16,11 +16,10 @@ class TestGemCommandsStaleCommand < Gem::TestCase
|
|||
|
||||
def test_execute_sorts
|
||||
files = %w[lib/foo_bar.rb Rakefile]
|
||||
foo_bar = quick_spec 'foo_bar' do |gem|
|
||||
foo_bar = quick_gem 'foo_bar' do |gem|
|
||||
gem.files = files
|
||||
end
|
||||
|
||||
bar_baz = quick_spec 'bar_baz' do |gem|
|
||||
bar_baz = quick_gem 'bar_baz' do |gem|
|
||||
gem.files = files
|
||||
end
|
||||
|
||||
|
@ -37,7 +36,6 @@ class TestGemCommandsStaleCommand < Gem::TestCase
|
|||
use_ui @ui do
|
||||
@cmd.execute
|
||||
end
|
||||
|
||||
lines = @ui.output.split("\n")
|
||||
assert_equal("#{foo_bar.name}-#{foo_bar.version}", lines[0].split.first)
|
||||
assert_equal("#{bar_baz.name}-#{bar_baz.version}", lines[1].split.first)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue