assert_nothing_thrown(message="", &proc) public

Passes if block does not throw anything.

Example:

assert_nothing_thrown do
  [1, 2].uniq
end
Show source
Register or log in to add new notes.