pry / pry-doc

Provide MRI Core documentation and source code for the Pry REPL
https://github.com/pry/pry-doc
Other
175 stars 26 forks source link

Test fail when you execute bundle exec rake spec in Ruby 2.7 #98

Closed ghost closed 4 years ago

ghost commented 4 years ago

Description

Test fail when you execute bundle exec rake spec in Ruby 2.7. Below is a part of stack trace.

Failures:

  1) PryDoc C ext methods should lookup C ext methods
     Failure/Error: expect(obj).not_to be_nil

       expected: not nil
            got: nil
     # ./spec/pry-doc_spec.rb:286:in `block (3 levels) in <top (required)>'

Reason

Method#inspect is changed by Proposal: Better Method#inspect in Ruby 2.7. So, receiver_notation_for parse fail.