diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb index 7c86748a87..f4b6abdf17 100644 --- a/test/rubygems/test_require.rb +++ b/test/rubygems/test_require.rb @@ -172,7 +172,7 @@ class TestGemRequire < Gem::TestCase install_specs b1, b2, a1 - require 'test_gem_require_a' + assert_require 'test_gem_require_a' assert_equal unresolved_names, ["b (>= 1)"] refute require('benchmark'), "benchmark should have already been loaded"