Exception: Mutant::WarningExpectation::ExpectationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Mutant::WarningExpectation::ExpectationError
- Defined in:
- lib/mutant/warning_expectation.rb
Overview
Error raised on expectation miss
Instance Method Summary collapse
-
#message ⇒ String
private
Return exception message.
Instance Method Details
#message ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return exception message
16 17 18 |
# File 'lib/mutant/warning_expectation.rb', line 16 def "Unexpected warnings: #{unexpected.inspect}, expected: #{expected.inspect}" end |