method
negative_failure_message
1.1.4 -
Show latest stable
- Class:
Spec::Matchers::Be
negative_failure_message()public
No documentation available.
# File lib/spec/matchers/be.rb, line 44
def negative_failure_message
return "expected not #{expected}, got #{@actual.inspect}" unless handling_predicate?
return "expected #{predicate}#{args_to_s} to return false, got #{@result.inspect}"
end