mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Move require to the top
https://github.com/rubygems/rubygems/commit/e6cabc3f1e
This commit is contained in:
parent
de3f183c2a
commit
9c55172bd0
Notes:
git
2020-06-05 07:33:46 +09:00
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "rubygems/test_case"
|
||||||
require "open3"
|
require "open3"
|
||||||
|
|
||||||
class TestProjectSanity < Gem::TestCase
|
class TestProjectSanity < Gem::TestCase
|
||||||
|
@ -13,8 +14,6 @@ class TestProjectSanity < Gem::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_require_rubygems_package
|
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\"'")
|
err, status = Open3.capture2e(*ruby_with_rubygems_in_load_path, "--disable-gems", "-e", "'require \"rubygems/package\"'")
|
||||||
|
|
||||||
assert status.success?, err
|
assert status.success?, err
|
||||||
|
|
Loading…
Reference in a new issue