diff --git a/ChangeLog b/ChangeLog index 6c89792f24..a40c566912 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 5 16:54:28 2012 Koichi Sasada + + * test/ruby/memory_status.rb: suppress warning. + A patch from NAKAMURA Usaku. + Wed Dec 5 16:06:54 2012 Eric Hodel * lib/rdoc/parser/changelog.rb: Parse more ChangeLog file variations. diff --git a/test/ruby/memory_status.rb b/test/ruby/memory_status.rb index 03f49cb2ae..91a934837b 100644 --- a/test/ruby/memory_status.rb +++ b/test/ruby/memory_status.rb @@ -1,3 +1,5 @@ +require_relative "envutil" + module Memory keys = [] vals = [] @@ -18,12 +20,16 @@ module Memory begin require 'fiddle/import' rescue LoadError - require 'dl/import' + suppress_warning do + require 'dl/import' + end end begin require 'fiddle/types' rescue LoadError - require 'dl/types' + suppress_warning do + require 'dl/types' + end end module Win32