1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Add missing test for user installation directory

https://github.com/rubygems/rubygems/commit/5ab8aa2a45
This commit is contained in:
David Rodríguez 2022-06-22 14:15:05 +02:00 committed by git
parent 1098fdf890
commit f0fab24241

View file

@ -25,6 +25,8 @@ class TestGemCommandsEnvironmentCommand < Gem::TestCase
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