summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_exec_command.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-02-13 18:46:24 -0800
committergit <svn-admin@ruby-lang.org>2023-02-22 08:42:18 +0000
commit80bfa1b30af7aae60e96f17e86f3a2c5a566ee12 (patch)
treeb7df8f7b4ed586e847e473b179f8154a97182949 /test/rubygems/test_gem_commands_exec_command.rb
parent2dd96983505285bf58845d1687a9a6d6c0af959b (diff)
downloadruby-80bfa1b30af7aae60e96f17e86f3a2c5a566ee12.tar.gz
[rubygems/rubygems] Fix resetting env in gem exec, and make sure it is set for gem exec gem
https://github.com/rubygems/rubygems/commit/13a6dd4992
Diffstat (limited to 'test/rubygems/test_gem_commands_exec_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_exec_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_exec_command.rb b/test/rubygems/test_gem_commands_exec_command.rb
index d4f8827808..4b9bacaa1a 100644
--- a/test/rubygems/test_gem_commands_exec_command.rb
+++ b/test/rubygems/test_gem_commands_exec_command.rb
@@ -739,7 +739,7 @@ class TestGemCommandsExecCommand < Gem::TestCase
assert_match /\A\s*\** LOCAL GEMS \**\s*\z/m, @ui.output
invoke "gem", "env", "GEM_HOME"
- assert_match /#{File::SEPARATOR}gem_exec$/, @ui.output
+ assert_equal "#{@gem_home}/gem_exec\n", @ui.output
end
end
end