From 9c55172bd08e7a3b92d521b680fd1aa095b86c85 Mon Sep 17 00:00:00 2001 From: bronzdoc Date: Wed, 3 Jun 2020 08:39:55 -0600 Subject: [PATCH] [rubygems/rubygems] Move require to the top https://github.com/rubygems/rubygems/commit/e6cabc3f1e --- test/rubygems/test_project_sanity.rb | 3 +-- 1 file changed, 1 insertion(+), 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