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

[rubygems/rubygems] Fix incorrect quoting

Test was just returning a string instead of actually exercising the
require.

https://github.com/rubygems/rubygems/commit/62c827d7e1
This commit is contained in:
David Rodríguez 2021-12-05 09:22:29 +01:00 committed by git
parent 25423f0918
commit e41c195cc5

View file

@ -13,7 +13,7 @@ class TestProjectSanity < Gem::TestCase
end
def test_require_rubygems_package
err, status = Open3.capture2e(*ruby_with_rubygems_in_load_path, "--disable-gems", "-e", "'require \"rubygems/package\"'")
err, status = Open3.capture2e(*ruby_with_rubygems_in_load_path, "--disable-gems", "-e", "require \"rubygems/package\"")
assert status.success?, err
end