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

envutil.rb: skip if load failed

* test/lib/envutil.rb (assert_no_memory_leak): skip when failed to
  load fiddle.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-11-27 03:42:32 +00:00
parent a7361f9c64
commit 97cfffcdc6

View file

@ -466,6 +466,8 @@ eom
next unless a > 0 and b > 0 next unless a > 0 and b > 0
assert_operator(a.fdiv(b), :<, limit, message(message) {"#{n}: #{b} => #{a}"}) assert_operator(a.fdiv(b), :<, limit, message(message) {"#{n}: #{b} => #{a}"})
end end
rescue LoadError
skip
end end
def assert_is_minus_zero(f) def assert_is_minus_zero(f)