mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
memory_status.rb: EnvUtil
* test/ruby/memory_status.rb (Memory): suppress_warning is in EnvUtil. [ruby-core:50599] [Bug #7523] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b76b5057c
commit
d3a2aa4004
1 changed files with 2 additions and 2 deletions
|
@ -20,14 +20,14 @@ module Memory
|
|||
begin
|
||||
require 'fiddle/import'
|
||||
rescue LoadError
|
||||
suppress_warning do
|
||||
EnvUtil.suppress_warning do
|
||||
require 'dl/import'
|
||||
end
|
||||
end
|
||||
begin
|
||||
require 'fiddle/types'
|
||||
rescue LoadError
|
||||
suppress_warning do
|
||||
EnvUtil.suppress_warning do
|
||||
require 'dl/types'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue