method
failure_message
1.1.4 -
Show latest stable
- Class:
Spec::Matchers::ThrowSymbol
failure_message()public
No documentation available.
# File lib/spec/matchers/throw_symbol.rb, line 25
def failure_message
if @actual
"expected #{expected}, got #{@actual.inspect}"
else
"expected #{expected} but nothing was thrown"
end
end