method

_expected_exception?

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: Test::Unit::Assertions
_expected_exception?(actual_exception, exceptions, modules) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/test/unit/assertions.rb, line 97
      def _expected_exception?(actual_exception, exceptions, modules) # :nodoc:
        exceptions.include?(actual_exception.class) or
          modules.any? {|mod| actual_exception.is_a?(mod)}
      end
Register or log in to add new notes.