1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Use assert_require

For consistency with the other specs.

https://github.com/rubygems/rubygems/commit/44b93aec4c
This commit is contained in:
David Rodríguez 2019-04-03 15:06:29 +02:00 committed by Hiroshi SHIBATA
parent 229ae3269d
commit bb2a65800d
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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"