summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_config_file.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-10 13:28:50 +0900
committergit <svn-admin@ruby-lang.org>2024-02-20 05:33:15 +0000
commitf2d453347f9174f6abf2abf8b2d870c5fccabdfb (patch)
tree77fbee95e33738ba582c82467cc468334ac68c3f /test/rubygems/test_gem_config_file.rb
parent018261eb921d51001c91a636e808349dfa725494 (diff)
[rubygems/rubygems] re-order util methods
https://github.com/rubygems/rubygems/commit/4b5eb7a02c
Diffstat (limited to 'test/rubygems/test_gem_config_file.rb')
-rw-r--r--test/rubygems/test_gem_config_file.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/test_gem_config_file.rb b/test/rubygems/test_gem_config_file.rb
index 128b0ec841..e8c76ab49b 100644
--- a/test/rubygems/test_gem_config_file.rb
+++ b/test/rubygems/test_gem_config_file.rb
@@ -519,10 +519,6 @@ if you believe they were disclosed to a third party.
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"
@@ -568,4 +564,8 @@ if you believe they were disclosed to a third party.
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