[前][次][番号順一覧][スレッド一覧]

ruby-changes:72352

From: David <ko1@a...>
Date: Wed, 29 Jun 2022 03:26:06 +0900 (JST)
Subject: [ruby-changes:72352] f0fab24241 (master): [rubygems/rubygems] Add missing test for user installation directory

https://git.ruby-lang.org/ruby.git/commit/?id=f0fab24241

From f0fab24241d69d1a89ab764b34cfe74807b1b2d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Wed, 22 Jun 2022 14:15:05 +0200
Subject: [rubygems/rubygems] Add missing test for user installation directory

https://github.com/rubygems/rubygems/commit/5ab8aa2a45
---
 test/rubygems/test_gem_commands_environment_command.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/rubygems/test_gem_commands_environment_command.rb b/test/rubygems/test_gem_commands_environment_command.rb
index 2bf80d8d85..23aa11990b 100644
--- a/test/rubygems/test_gem_commands_environment_command.rb
+++ b/test/rubygems/test_gem_commands_environment_command.rb
@@ -25,6 +25,8 @@ class TestGemCommandsEnvironmentCommand < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_environment_command.rb#L25
     assert_match %r{RUBY VERSION: \d+\.\d+\.\d+ \(.*\) \[.*\]}, @ui.output
     assert_match %r{INSTALLATION DIRECTORY: #{Regexp.escape @gemhome}},
                  @ui.output
+    assert_match %r{USER INSTALLATION DIRECTORY: #{Regexp.escape Gem.user_dir}},
+                 @ui.output
     assert_match %r{RUBYGEMS PREFIX: }, @ui.output
     assert_match %r{RUBY EXECUTABLE:.*#{RbConfig::CONFIG['ruby_install_name']}},
                  @ui.output
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]