Skip to content

Unpend RDoc dialog related tests #640

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

Merged
merged 3 commits into from
Jul 13, 2023
Merged

Unpend RDoc dialog related tests #640

merged 3 commits into from
Jul 13, 2023

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Jul 12, 2023

They are our only coverage on the doc dialog of autocompletion. Without them, issues like #638 would slip in unnoticed.

A few notes about these tests:

  • To make them work properly, RI data is needed but RDoc HTML is not. Hence gem rdoc --all --ri --no-rdoc
  • There's an output difference caused by different keyboard shortcut hint on mac and non-mac OS
  • For some reason installing RI data still doesn't make it work under Ruby 3.1. But I think coverage on 3.1+ is enough so I just skip them on Ruby 2.7 and 3.0

st0012 added 3 commits July 12, 2023 21:08
Without these tests, we don't have any coverage on autocompletion's rdoc
dialog, which is what caused #638 to happen.
@st0012 st0012 requested review from amatsuda and a team and removed request for amatsuda July 12, 2023 20:54
Copy link
Member

@tompng tompng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tompng tompng merged commit 3ac96be into master Jul 13, 2023
@tompng tompng deleted the unpend-doc-dialog-tests branch July 13, 2023 16:52
matzbot pushed a commit to ruby/ruby that referenced this pull request Jul 13, 2023
(ruby/irb#640)

* Unpend rdoc dialog tests

Without these tests, we don't have any coverage on autocompletion's rdoc
dialog, which is what caused #638 to happen.

* Pull ri doc on CI for the doc dialog test

* Assert different screen result on CI and local machine

ruby/irb@3ac96be660
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants