summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-03 15:06:29 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 07:35:48 +0900
commitbb2a65800d857149bbbacace7ed5dfbf7d20ecc2 (patch)
treebe258dfb34dc2d13bd43495fafb39fc85e79ecc0
parent229ae3269d622954295e4220fa7bc3298cad8b1d (diff)
[rubygems/rubygems] Use `assert_require`
For consistency with the other specs. https://github.com/rubygems/rubygems/commit/44b93aec4c
-rw-r--r--test/rubygems/test_require.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb
index 7c86748a872..f4b6abdf173 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"