@api private Generates expectation expressions for the `expect` syntax.
# File lib/rspec/expectations/syntax.rb, line 158 def self.negative_expression(target_expression, matcher_expression) "expect(#{target_expression}).not_to #{matcher_expression}" end
# File lib/rspec/expectations/syntax.rb, line 154 def self.positive_expression(target_expression, matcher_expression) "expect(#{target_expression}).to #{matcher_expression}" end