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.
44b93aec4c
This commit is contained in:
parent
229ae3269d
commit
bb2a65800d
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class TestGemRequire < Gem::TestCase
|
||||||
|
|
||||||
install_specs b1, b2, a1
|
install_specs b1, b2, a1
|
||||||
|
|
||||||
require 'test_gem_require_a'
|
assert_require 'test_gem_require_a'
|
||||||
assert_equal unresolved_names, ["b (>= 1)"]
|
assert_equal unresolved_names, ["b (>= 1)"]
|
||||||
|
|
||||||
refute require('benchmark'), "benchmark should have already been loaded"
|
refute require('benchmark'), "benchmark should have already been loaded"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue