diff options
author | bronzdoc <lsagastume1990@gmail.com> | 2020-06-03 08:39:55 -0600 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-05 07:32:42 +0900 |
commit | 9c55172bd08e7a3b92d521b680fd1aa095b86c85 (patch) | |
tree | 5fffba772ed026b8973b47558a7b9b5c2e856b19 /test | |
parent | de3f183c2a2da499da5d4349c82f122bef1fc68b (diff) | |
download | ruby-9c55172bd08e7a3b92d521b680fd1aa095b86c85.tar.gz |
[rubygems/rubygems] Move require to the top
https://github.com/rubygems/rubygems/commit/e6cabc3f1e
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_project_sanity.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rubygems/test_project_sanity.rb b/test/rubygems/test_project_sanity.rb index a53ea49ee9..ca14e3fbb4 100644 --- a/test/rubygems/test_project_sanity.rb +++ b/test/rubygems/test_project_sanity.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "rubygems/test_case" require "open3" class TestProjectSanity < Gem::TestCase @@ -13,8 +14,6 @@ class TestProjectSanity < Gem::TestCase end def test_require_rubygems_package - require "rubygems/test_case" - err, status = Open3.capture2e(*ruby_with_rubygems_in_load_path, "--disable-gems", "-e", "'require \"rubygems/package\"'") assert status.success?, err |