Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ill-defined warn expectation #1244

Merged
merged 1 commit into from
Dec 18, 2020
Merged

Commits on Dec 18, 2020

  1. Fix ill-defined warn expectation

            -["include {:message => (match /legacy\\s+RSpec\\s+matcher/), :call_site => (include \"/home/runner/work/rspec-support/rspec-expectations/spec/rspec/matchers/legacy_spec.rb:31\")}"]
           +[{:message=>
           +   "#<#<Class:0x000055fcd6e44840>:0x000055fcd6e52bc0> implements a legacy RSpec matcher\nprotocol. For the current protocol you should expose the failure messages\nvia the `failure_message` and `failure_message_when_negated` methods.\n(Used from /home/runner/work/rspec-support/rspec-expectations/spec/rspec/matchers/legacy_spec.rb:31:in `block (4 levels) in <module:Matchers>')\n",
           +  :type=>"legacy_matcher"}]
    
    See rspec/rspec-support#452
    pirj committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    216db53 View commit details
    Browse the repository at this point in the history