Skip to content

Commit

Permalink
[rubygems/rubygems] re-order util methods
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt authored and matzbot committed Feb 20, 2024
1 parent 018261e commit f2d4533
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/rubygems/test_gem_config_file.rb
Expand Up @@ -519,10 +519,6 @@ def test_load_install_extension_in_lib_from_config
assert_equal(false, @cfg.install_extension_in_lib)
end

def util_config_file(args = @cfg_args)
@cfg = Gem::ConfigFile.new args
end

def test_disable_default_gem_server
File.open @temp_conf, "w" do |fp|
fp.puts ":disable_default_gem_server: true"
Expand Down Expand Up @@ -568,4 +564,8 @@ def test_handle_comment
actual = Gem::ConfigFile.load_with_rubygems_config_hash(yaml)
assert_equal("bar", actual[:foo])
end

def util_config_file(args = @cfg_args)
@cfg = Gem::ConfigFile.new args
end
end

0 comments on commit f2d4533

Please sign in to comment.