From d4feeb19361a4d7addf4779fb6bdc8e8c072093b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 3 Apr 2019 15:11:14 +0200 Subject: [PATCH] [rubygems/rubygems] Make test also assert the gems that it should load https://github.com/rubygems/rubygems/commit/a6375920bf --- test/rubygems/test_require.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb index f4b6abdf17..f8e1d3f26e 100644 --- a/test/rubygems/test_require.rb +++ b/test/rubygems/test_require.rb @@ -66,6 +66,7 @@ class TestGemRequire < Gem::TestCase assert_require 'test_gem_require_a' assert_require 'b/c' # this should be required from -I assert_equal "world", ::Object::HELLO + assert_equal %w(a-1 b-1), loaded_spec_names ensure $LOAD_PATH.replace lp Object.send :remove_const, :HELLO if Object.const_defined? :HELLO